Design a bank account ledger | Coinbase Interview Question