This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
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 |