by wiredfool · 9y ago · 0 comments
For cases where that's not possible, iterative approaches can be very effective -- with not particularly optimized python, the worst solution time I ever saw was 1 sec on a 1st gen eeepc netbook. That had about 6 layers of iterative backtracking before it came up with the solution.
Edit: I decided to publish my implementation on GitHub. https://github.com/jcoffland/fsudoku
This is it, uploaded a few years later in a repo for soduku over sms: