3 ms·
For an elegant and efficient solution method for this class of problems (which includes sudoku), check out donald knuths dancing links algorithm.
by pge 12y ago
For an elegant and efficient solution method for this class of problems (which includes sudoku), check out donald knuths dancing links algorithm.