MCPcopy Create free account
hub / github.com/PrajaktaSathe/Java / init

Method init

Programs/CombinationCoinChange.java:10–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8 private static int count=0;
9
10 private static void init() {
11 coins = new ArrayList<Integer>();
12 coins.add(1);
13 coins.add(3);
14 coins.add(5);
15 coins.add(9);
16 coins.add(10);
17 coins.add(14);
18 coins.add(18);
19 coins.add(23);
20 }
21
22 /*Prints all comninations of the coin change*/
23 public static void coinCombinations(int amount,int index,LinkedList<Integer> list)

Callers 1

mainMethod · 0.95

Calls 1

addMethod · 0.65

Tested by

no test coverage detected