Fetching algorithms...
amount = 5, coins = [1, 2, 5]
4
amount = 3, coins = [2]
0
amount = 10, coins = [10]
1
Time Complexity
Space Complexity