3 ms·
There is a very succinct implementation of Algorithm X in Python that uses a variation of the Dancing Links approach. http://www.cs.mcgill.ca/~aassaf9/python/a
by alxv 11y ago
There is a very succinct implementation of Algorithm X in Python that uses a variation of the Dancing Links approach.
http://www.cs.mcgill.ca/~aassaf9/python/algorithm_x.html http://www.cs.mcgill.ca/~aassaf9/python/algorithm_x.html
http://www.cs.mcgill.ca/~aassaf9/python/sudoku.txt http://www.cs.mcgill.ca/~aassaf9/python/sudoku.txt