public void MaxConsecutive1() { int[] arr = new int[] { 1, 0, 1, 1, 0 }; ArrayProblem.MaxConsecutiveOne(arr); }