Skip to content

Commit c98f318

Browse files
author
eunhwa99
committed
공간 복잡도 수정
1 parent 1a86a2a commit c98f318

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

set-matrix-zeroes/eunhwa99.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import java.util.Set;
33

44
// 시간 복잡도: O(row x col)
5-
// 공간 복잡도: O(row x col)
5+
// 공간 복잡도: O(row + col)
66
class Solution {
77

88
public void setZeroes(int[][] matrix) {
@@ -38,3 +38,4 @@ public void setZeroes(int[][] matrix) {
3838
}
3939
}
4040

41+

0 commit comments

Comments
 (0)