Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Either you run the day or the day runs you!

Ajit Singh ajitsing

💭
Either you run the day or the day runs you!
View GitHub Profile
View MakeRowColZero.java
public class MakeRowColZero {
public static void main(String[] args) {
int[][] matrix = {
{1, 2, 0, 9},
{3, 4, 1, 1},
{0, 8, 1, 1},
{7, 9, 1, 1}
};
makeRowColZero(matrix);