MCPcopy Create free account
hub / github.com/careercup/ctci / makeChange1

Method makeChange1

java/Chapter 9/Question9_8/Question.java:17–20  ·  view source on GitHub ↗
(int n)

Source from the content-addressed store, hash-verified

15 }
16
17 public static int makeChange1(int n) {
18 int[] denoms = {25, 10, 5, 1};
19 return makeChange(n, denoms, 0);
20 }
21
22 public static int makeChange2(int n) {
23 int[] denoms = {25, 10, 5, 1};

Callers 1

makeChangeMethod · 0.95

Calls 1

makeChangeMethod · 0.95

Tested by

no test coverage detected