package leetcode;

import java.util.Arrays;

/**
 * https://leetcode.com/problems/set-matrix-zeroes/
 */
public class Problem73 {
    public void setZeroes(int[][] matrix) {
        
    }
    
    public static void main(String[] args) {
        Problem73 prob = new Problem73();
        int[][] matrix = new int[][] {
            new int[]{1, 0, 1, 1},
            new int[]{0, 1, 1, 1},
            new int[]{0, 1, 1, 1}
        };
        prob.setZeroes(matrix);
        for (int i = 0; i < matrix.length; i++) {
            System.out.println(Arrays.toString(matrix[i]));
        }
    }
}

@@ -171,25 +171,621 @@
 ) %7B%0A        
+for (int i = 0; i %3C matrix.length; i++) %7B%0A            for (int j = 0; j %3C matrix%5Bi%5D.length; j++) %7B%0A                if (matrix%5Bi%5D%5Bj%5D == 0) %7B%0A                    setRowZeroes(matrix, i);%0A                    setColZeroes(matrix, j);%0A                %7D%0A            %7D%0A        %7D%0A    %7D%0A    %0A    private void setRowZeroes(int%5B%5D%5B%5D matrix, int row) %7B%0A        for (int i = 0; i %3C matrix%5Brow%5D.length; i++) %7B%0A            matrix%5Brow%5D%5Bi%5D = 0;%0A        %7D%0A    %7D%0A    %0A    private void setColZeroes(int%5B%5D%5B%5D matrix, int col) %7B%0A        for (int i = 0; i %3C matrix.length; i++) %7B%0A            matrix%5Bi%5D%5Bcol%5D = 0;%0A        %7D
 %0A
-
     %7D%0A    %0A 
@@ -993,33 +993,33 @@
       new int%5B%5D%7B
-0
+1
 , 1, 1, 1%7D%0A     

Update problem 73 (not finished yet)