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 6512dbf commit 2d0a2b8Copy full SHA for 2d0a2b8
lcof2/剑指 Offer II 103. 最少的硬币数目/README.md
@@ -175,7 +175,7 @@ var coinChange = function (coins, amount) {
175
class Solution {
176
func coinChange(_ coins: [Int], _ amount: Int) -> Int {
177
var dp = [Int](repeating: amount + 1, count: amount + 1)
178
- dp[0] = 0
+ dp[0] = 0
179
180
for coin in coins {
181
if coin > amount { continue }
0 commit comments