Function ADS::sudoku

Function Documentation

inline bool ADS::sudoku(Grid &S, std::size_t i = 0)

sudoku(): fills the empty squares of S, true if it can

Pre:

a grid of n^2 x n^2 squares, the values given consistent

Post:

if true, a solution