36. Valid Sudoku

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'.'.

36. Valid Sudoku_第1张图片

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.

stefan 大神的代码, 再次跪拜!!!

36. Valid Sudoku_第2张图片

你可能感兴趣的:(36. Valid Sudoku)