Sudoku Solver

Sudoku is essentially a pattern matching game. In a properly solved game, each row will use all of the numbers 1-9, each column will use all of the numbers 1-9 and each 3 x 3 subtable will use the numbers 1-9.

The Solution

In order to solve a puzzle, you essentially do the following:

The Computer Solution

My computer program essentially uses guessing and iteration to solve the problem. Historically, I used the exact solution mechanism proposed above. However, the time required for the computer to solve the program that way vs. guessing was not appreciably different, so this way has a smaller, cleaner code base.