Verified interview challenge
Build a bank with cashback and history
Extend one banking implementation as payments, delayed events and historical queries are introduced.
Unlock with Full AccessThe challenge
Build a bank that grows from account operations into spending rankings, delayed cashback, account merges and historical balances. Your implementation carries forward as each level introduces a new requirement.
The difficulty comes from interactions between features. A payment has a later effect, a merge changes where money belongs, and a historical query must still describe the correct moment. Keep those meanings consistent as the same class evolves.
What you'll practise
Time-dependent state
Keep scheduled cashback and requested operations consistent at their boundaries.
Account history
Preserve the meaning of balances and payments as accounts are merged.
# Build on your implementation
# Run checks for the current part
# Full starter code includedRun your code to see results.