Skip to content

Commit 0c77e18

Browse files
committed
Update 15. 有效的数独.md
1 parent 7989e6f commit 0c77e18

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

15. 有效的数独.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
```请你判断一个 9 x 9 的数独是否有效。只需要根据以下规则 ,验证已经填入的数字是否有效即可。
2-
1+
```
2+
请你判断一个 9 x 9 的数独是否有效。只需要根据以下规则 ,验证已经填入的数字是否有效即可。
33
数字 1-9 在每一行只能出现一次。
44
数字 1-9 在每一列只能出现一次。
55
数字 1-9 在每一个以粗实线分隔的 3x3 宫内只能出现一次。
66
```
7+
78
```
89
class Solution:
910
def isValidSudoku(self, board: List[List[str]]) -> bool:

0 commit comments

Comments
 (0)