diff --git a/CP/SetMatrixZeros.java b/CP/SetMatrixZeros.java new file mode 100644 index 0000000..4a37e16 --- /dev/null +++ b/CP/SetMatrixZeros.java @@ -0,0 +1,91 @@ +package Java_DSA.Problems.Matrix; +import java.io.*; +import java.util.* ; + +public class SetMatrixZeros { + public static void setZeros(int[][] matrix) { + // Write your code here.. + + // int m=matrix.length, n=matrix[0].length; + // boolean isRow0=false, isCol0=false; + + // for(int j=0;j