Skip to content

Instantly share code, notes, and snippets.

View choutianxius's full-sized avatar
🎯
Overengineering

Tianxiu (Tyson) Zhou choutianxius

🎯
Overengineering
View GitHub Profile
'''
A simple in-memory banking system which supports:
- Create accounts
- Deposit money
- Transfer money from one account to another
- Make payments, which adds 2% cashback after one day
- Get payment status at current timestamp
- Get balance at certain timestamp
- Merge accounts
- Get the most active accounts in terms of spending money