A while back I wrote a little sudoku solver that I was quite pleased with. To my surprise it has actually received quite a bit of attention.
First off there is Mark Byers, who started by shaving my solver down a bit to make it even shorter. Then he wrote a solver in python that is even shorter still.
Interestingly almost all the traffic to my solver comes from one page.
Finally I came across the following posting. To answer the question there, I leave the sub by calling ‘die’ because it is quick and short. Irritatingly I need to pay for an account to see my own code being discussed. Ho Hum.
The irony of this all is that I have yet to actually solve a sudoku by myself, somehow actually sitting down and plodding on isn’t that appealing. Especially when there are much more interesting things to work on, like converting numbers into Roman numerals using regular expressions…