Skip to content

Commit b1e3479

Browse files
authored
Update Valid Sudoku - Leetcode 36.py
1 parent 592bd77 commit b1e3479

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Valid Sudoku - Leetcode 36.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,6 @@ def isValidSudoku(self, board: List[List[str]]) -> bool:
3535
elif item != '.':
3636
s.add(item)
3737
return True
38+
39+
# Time Complexity: O(n^2)
40+
# Space Complexity: O(n)

0 commit comments

Comments
 (0)