Medium
Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be checked: each row, each column, and each 3 x 3 sub-box must contain no repeated digit 1-9. Empty cells are '.'. The board need not be solvable.
Input: board rows like "53..7...." Output: true
Input: a board with two 8s in a column Output: false