/Solve_Sudoku_with_Crook_algorithm

Apply Sudoku rules and Crook's algorithm to solve Sudoku

Primary LanguagePython

sudoku

Apply Sudoku rules and Crook's algorithm to solve Sudoku

The question of Sudoku should be saved in an excel file. The range of the input should be from A1 to I9. For empty cells, 0 should be input. After running main.py, the file path and sheet name of the excel file are asked to input. Then the result is printed, whether a solution is found or not.

Medium Post:

https://medium.com/@wyfok/solve-sudoku-more-elegantly-with-crooks-algorithm-in-python-5f819d371813

Reference:

http://pi.math.cornell.edu/~mec/Summer2009/meerkamp/Site/Solving_any_Sudoku_II.html http://www.ams.org/notices/200904/rtx090400460p.pdf

alt text