Back to problems

Banking System Coding Exercise (Multi-Currency + History Replay Follow-ups)

Object-Oriented Programming · Coinbase · Hard

Problem Design an in-memory banking system that supports creating accounts, depositing funds, withdrawing funds, transferring money, and checking balances. Begin with a single currency, then explain how you would extend the design to support multiple currencies and replay a recorded transaction history. Every account has a unique identifier and a nonnegative balance. Deposits and withdrawals apply to one account, while transfers move money between two different accounts. An…

Checking your access…