[Leetcode with python] 36. Valid Sudoku (# Hash table)

题目 https://leetcode.com/problems/valid-sudoku/ 解题 遍历三次矩阵,三个规则都检验一次。 class Solution(object): def isValidSudoku(self, board): """ :type board: List[List[str]] :rtype: bool """ for ro
相关文章
相关标签/搜索