Leetcode 2043. Simple Bank System
Design a Bank class that maintains 1-indexed account balances and supports transfer, deposit, and withdraw operations; each operation must validate account indices and (for withdraw/transfer) sufficient funds, returning true and updating balances on success or false otherwise.
Asked at:
Coinbase
Paypal
Capital One
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Mid September, 2025
Capital One
Senior
Mid September, 2025
Paypal
Senior
Mid June, 2025
Coinbase
Senior
Your account is free and you can post anonymously if you choose.