diff --git a/Dynamic Programming/CoinChange.java b/Dynamic Programming/CoinChange.java index 51fc64a5..f4cda720 100644 --- a/Dynamic Programming/CoinChange.java +++ b/Dynamic Programming/CoinChange.java @@ -29,9 +29,7 @@ public class CoinChange { for (int coin : coins) { for (int i=coin; i=coin) { combinations[i] += combinations[i-coin]; - } } // Uncomment the below line to see the state of combinations for each coin // printAmount(combinations);