Skip to content

Commit a476546

Browse files
refactor 73
1 parent a453d3e commit a476546

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+2
-2
lines changed

src/main/java/com/fishercoder/solutions/_73.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
* Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
77
88
Follow up:
9+
910
Did you use extra space?
1011
A straight forward solution using O(mn) space is probably a bad idea.
1112
A simple improvement uses O(m + n) space, but still not the best solution.
1213
Could you devise a constant space solution?
13-
1414
*/
1515
public class _73 {
1616

@@ -131,4 +131,4 @@ public void setZeroes(int[][] matrix) {
131131
}
132132
}
133133
}
134-
}
134+
}

0 commit comments

Comments
 (0)