Array
2043. Simple Bank System
Implement a bank with n 1-indexed accounts and initial balances. Methods: transfer(a1, a2, money), deposit(account, money), withdraw(account, money). An operation succeeds when the accounts are valid…
Loading…
Implement a bank with n 1-indexed accounts and initial balances. Methods: transfer(a1, a2, money), deposit(account, money), withdraw(account, money). An operation succeeds when the accounts are valid…
Loading…