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

Method clearArray

java/Chapter 18/Question18_12/QuestionC.java:7–11  ·  view source on GitHub ↗
(int[] array)

Source from the content-addressed store, hash-verified

5public class QuestionC {
6
7 public static void clearArray(int[] array) {
8 for (int i = 0; i < array.length; i++) {
9 array[i] = 0;
10 }
11 }
12
13 public static int maxSubMatrix(int[][] matrix) {
14 int rowCount = matrix.length;

Callers 1

maxSubMatrixMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected