Banking System with Spending Leaderboard
Asked at Coinbase · Coding Questions · Difficulty: Medium · Last asked Mar 4, 2026
Implement a small in-memory bank. Accounts hold integer balances, money moves between accounts, and a leaderboard reports who has sent the most money. Every method takes a `timestamp` (integer milliseconds, non-decreasing across calls) as its first argument; the timestamp does not change the behaviour here.
Loading the problem…
More Coinbase interview questions
- Design Coinbase Explore Real-Time Price Dashboard
- Flappy Bird Controller: Decide When to Jump
- Design a Multi-Chain Crypto Ledger & Wallet History
- Design a Credit-Approval Risk Engine
- Baseline Classifier on a Messy Tabular Dataset
- MLE Onsite - Domain Round (ML Coding + SQL Window Function)