This question evaluates algorithmic problem-solving skills focused on constraint satisfaction, state-space search, and implementation correctness for combinatorial puzzles.
Given a partially filled 9×9 Sudoku board, fill the empty cells so that the completed board is valid.
A valid Sudoku satisfies:
'1'..'9'
or
'.'
(empty).
Input:
5 3 . . 7 . . . .
6 . . 1 9 5 . . .
Output: a completed valid Sudoku grid.