To operate the applet:
Some links...
Despite the fact that there are seemingly hundreds of Sudoku solving sites out there, I created my algorithm independently from all of them (not that it's a big secret or anything). I used a basic recursive backtracking algorithm,4 which would account for the terrible efficiency.



For example...

Evil Puzzle #7,841,375,337 Evil Puzzle #7,841,375,337 solved




1My various tests with the applet show that if "Watch Recursion" is checked, Easy puzzles usually take under a minute to find all solutions, and Evil puzzles usually take a minimum of 4-5 minutes to generate all solutions. [back]

2Based on some extremely lazy and un-exhaustive research, "true" Sudokus have only one solution. However, it's more than possible to construct a valid board that will have more than one solution. [back]

3Interestingly, due to the cold, unfeeling, nature of the algorithm (which solves each board iteratively, testing each possible number sequentially [1, 2, 3, ..., 9]), it's possible to construct a seemingly trivial board that will take a long time to generate a solution. For example, this board:


takes quite some time to find the first solution. [back]


4I imagine that the algorithm used to solve "real" Sudokus (those with only one unique solution) are smarter, faster, and much more efficient than mine; see 3. [back]