36. Valid Sudoku
Last updated
Last updated
Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules.
The Sudoku board could be partially filled, where empty cells are filled with the character '.'
.
A partially filled sudoku which is valid.
Note: A valid Sudoku board (partially filled) is not necessarily solvable. Only the filled cells need to be validated.
Related Topics:
Hash Table
利用 HashSet
的特性,判断 行
、列
、块
有无重复数字。