MCPcopy Index your code
hub / github.com/careercup/ctci / clear

Method clear

java/Chapter 9/Question9_9/Question.java:48–52  ·  view source on GitHub ↗
(Integer[] columns)

Source from the content-addressed store, hash-verified

46 }
47
48 public static void clear(Integer[] columns) {
49 for (int i = 0; i < GRID_SIZE; i++) {
50 columns[i] = -1;
51 }
52 }
53
54 public static void printBoard(Integer[] columns) {
55 drawLine();

Callers 3

mainMethod · 0.95
getWinnersMethod · 0.80
clearSpotsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected