Extend a Simple Bank System to Track the Most Active Accounts
In two parts: first, implement a simple Bank class supporting deposit, withdraw, and transfer operations with account validation. Then, extend the class to track account activity and efficiently identify the most active accounts (e.g., by transaction count or total volume).
Asked at:
Capital One
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late October, 2025
Capital One
Senior
After creating the banking system class, asked you to further design the class to keep track of the most active accounts in your "simple bank"
Hello Interview Premium
Your account is free and you can post anonymously if you choose.