In-Memory Banking System with Cashback and Merge

Asked at Ramp · Coding Questions · Difficulty: Medium · Last asked Jan 17, 2026

Build an in-memory banking system as a single class, `BankingSystem`, in four stages. Every method takes a `timestamp` in milliseconds as its first argument; timestamps never decrease across calls.

Loading the problem…