Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0fdbcc3

Browse filesBrowse files
author
Keshav
committed
remove extra line and change amount value
1 parent 218c130 commit 0fdbcc3
Copy full SHA for 0fdbcc3

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Open diff view settings
Collapse file

‎Dynamic Programming/CoinChange.java‎

Copy file name to clipboardExpand all lines: Dynamic Programming/CoinChange.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public class CoinChange {
99
// Driver Program
1010
public static void main(String[] args) {
1111

12-
int amount = 3;
12+
int amount = 12;
1313
int[] coins = {2, 4, 5};
1414

1515
System.out.println("Number of combinations of getting change for " + amount + " is: " + change(coins, amount));
@@ -76,5 +76,4 @@ public static void printAmount(int[] arr) {
7676
}
7777
System.out.println();
7878
}
79-
8079
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.