Solving The Hardest Sudoku In Python With...
Solving The Hardest Sudoku In Python With DOcloud #python
Solving The Hardest Sudoku In Python With...
The more I use Python, the more I like it. Here is yet another example of why. I looked for Sudoku solvers written in Python and found quite a few. I particularly like the one Peter Norvig describes in Solving Every Sudoku Puzzle. As a matter of fact Peter wrote a constraint programming solver tailored to Sudoku. I recommend reading his blog entry if you want to learn Python. I also recommend it if you want to understand the basics of a constraint programming (CP) solver. Indeed, his CP solver is well designed, even if it only solves Sudoku. Besides writing a CP solver, Peter looked for grids that are particularly hard to solve. Here is the hardest one he found: . . . |. . 6 |. . . . 5 9 |. . . |. . 8 2 . . |. . 8 |. . . . 4 5 |. . . |....Read MoreIBM Technical Rock Star Program
Comments
Post a Comment