Update check_sudoku_board.py

This commit is contained in:
marina 2023-08-07 17:05:29 -07:00 committed by GitHub
parent e1e46e59c8
commit 3215e25e12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
# author: bt3gl
```
'''
Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:
- Each row must contain the digits 1-9 without repetition.
@ -21,7 +21,7 @@ Input: board =
,[".",".",".","4","1","9",".",".","5"]
,[".",".",".",".","8",".",".","7","9"]]
Output: true
```
'''
def is_valid_sudoku(board) -> bool: