Bank account expiry system
Filed under Amazon
The question
Design a data structure for a bank account system where each account has a Time-To-Live (TTL), amount, and insertion time, and accounts expire based on the TTL.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.