36

· One step
LeetCode-36 Valid Sudoku : A Sudoku board (partially filled) could be valid but is not necessarily solvable. note : Only the filled cells need to be validated according to the mentioned rules.Answer :::python class Solution: def isValidSudoku(self, board: List[List[str]]) -> bool: def valid_row(i, j, row): if row==1: item = board[i] else: item = [board[n][j] for n in range(0,9)] p = [] box = [bo..
다했다
'36' 태그의 글 목록