注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号 
x
本帖最后由 匿名 于 2023-10-31 15:46 编辑
面的backend, 4轮中间半小时休息, 内容和前面的几乎一样。
1)coding:banking system
implement 4 functions, should handle exceptions like account does not exist or deposited amount cannot cover transfer amount
-create account (accountNo)
create account with the given accountNo
-deposit ( accountNo, amount)
depost amount into accountNo
-transfer( account1, account2, amount)
transfer amount from account1 to account2
-top_activity()
returns account with most activities in desc order
2) System design:
总体来说不难,可能更注重technical communications,还在等通知 |