Here, we will discuss
The puzzle of sudoku is one consisting of a nine by nine grid of squares and the grid is divided up into three by three grids of three by three squares. Each row, column and sub-grid can only contain one instance of the digits 1 through 9 and some entries are given. A correct puzzle has enough entries to ensure a unique solution.
This is problem that is very appropriate for backtracking, as a digit in the wrong location often quickly shows that the solution is infeasable.
With n entries left,
This algorithm is implemented in the source directory.