Skip to content

wyfok/Solve_Sudoku_with_Crook_algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Apply Sudoku rules and Crook's algorithm to solve Sudoku

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages