MCPcopy
hub / github.com/careercup/ctci / main

Method main

java/Chapter 18/Question18_4/Question.java:64–70  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

62 }
63
64 public static void main(String[] args) {
65 for (int i = 0; i < 10000; i++) {
66 int v1 = count2sR(i);
67 int v2 = count2sInRange(i);
68 System.out.println("Between 0 and " + i + ": " + v1 + " " + v2);
69 }
70 }
71
72}

Callers

nothing calls this directly

Calls 2

count2sRMethod · 0.95
count2sInRangeMethod · 0.95

Tested by

no test coverage detected