We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5aa6700 commit 8a32b5cCopy full SHA for 8a32b5c
coin-change/jeldo.py
@@ -1,5 +1,5 @@
1
class Solution:
2
- # O(n*m), n=len(coins), m=amount
+ # O(n*m), n = len(coins), m = amount
3
def coinChange(self, coins: list[int], amount: int) -> int:
4
dp = [amount+1] * (amount+1)
5
dp[0] = 0
0 commit comments