- Time:Constructor: O(1), deposit(banknotesCount: List[int]): O(1), withdraw(amount: int): O(1)
- Space:Space:
C++ |
---|
|
JAVA |
---|
|
Python |
---|
|
C++ |
---|
|
JAVA |
---|
|
Python |
---|
|