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

Method main

java/Chapter 18/Question18_3/Question.java:24–29  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

22 }
23
24 public static void main(String[] args) {
25 int[] cards = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9};
26 System.out.println(AssortedMethods.arrayToString(cards));
27 int[] set = pickMRandomly(cards, 4);
28 System.out.println(AssortedMethods.arrayToString(set));
29 }
30
31}

Callers

nothing calls this directly

Calls 2

arrayToStringMethod · 0.95
pickMRandomlyMethod · 0.95

Tested by

no test coverage detected