← Questions
Financial account ledger with acceptance, limits and settlement
0
I was asked this
No reports yet. Sign in to say where you were asked it.
Implement process_ledger(commands), which handles commands in order: set up accounts, request deposits and query balances. Return the query answers as one comma-separated string.
Each deposit method has its own settlement delay, cut-off time and limit, so a deposit goes through separate stages: when the request is accepted, when it counts against the limit, and when the money settles into the balance. The task grows over four parts; keep those stages apart so each new rule fits in.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
