[ Launch: ball ] 8671887 by tarvaina
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
I've always found Peter Norvig's Python solver for Sudoku at https://norvig.com/sudoku.html very elegant. | |
It had been a few years since I visited the page and I decided I would try to recreate it from memory. | |
I got pretty close! | |
The major difference is that my solution is missing one of the two propagation strategies. | |
Search works without it so I thought Norvig's solution might not use it. | |
Turns out I was wrong and it did have it. | |
Another difference is that Norvig's code is much better documented at the page https://norvig.com/sudoku.html . |
[ Launch: Tributary inlet ] 6540391 by tarvaina
[ Launch: Tributary inlet ] 6536374 by tarvaina
[ Launch: Tributary inlet ] 6520110 by tarvaina
[ Launch: Tributary inlet ] 6510627 by tarvaina
[ Launch: Tributary inlet ] 6507666 by tarvaina
[ Launch: Tributary inlet ] 6308156 by tarvaina
[ Launch: Tributary inlet ] 6232741 by tarvaina
[ Launch: Tributary inlet ] 6230916 by tarvaina
NewerOlder