Monzo Bank interview question

Live coding a in memory ledger