Sudoku Series
Valid SudokuQuestionDetermine 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 ‘.’.
Analysis数独规则:
每行每列及每个九宫格内不可有相同的数字(一共九个九宫格)
故针对每行每列及每个九宫格初始化一个hashset,当前格内数字不是’.’且无法插入到hashset时代表已经存在了重复的数字,返回
...