Sudoku Solver in Puthon (Brute force with some improvements)
generate_and_validate - sudoku puzzle generator and solution validator that someone else wrote
./generate_and_validate
5 8 4 1 2 7 6 9 3 6 1 9 3 5 4 2 8 7 7 3 2 6 9 8 1 5 4 2 4 5 9 8 6 7 3 1 1 6 3 7 4 5 9 2 8 8 9 7 2 1 3 5 4 6 9 2 6 8 3 1 4 7 5 3 5 1 4 7 9 8 6 2 4 7 8 5 6 2 3 1 9
BOARD:
0 0 0 0 2 7 0 0 3 6 1 0 0 0 4 0 0 0 0 3 0 0 9 0 0 5 4 2 4 0 0 8 6 7 0 0 0 0 0 7 0 0 9 0 0 0 0 0 0 0 0 5 0 6 0 0 0 8 3 0 4 0 0 0 0 0 0 7 0 0 0 2 0 0 8 0 0 2 3 0 9
PASTE SOLUTION:
sudoku_solver_myanna.py - My sudoku solver
python sudoku_solver_myanna.py
0 0 0 0 2 7 0 0 3 6 1 0 0 0 4 0 0 0 0 3 0 0 9 0 0 5 4 2 4 0 0 8 6 7 0 0 0 0 0 7 0 0 9 0 0 0 0 0 0 0 0 5 0 6 0 0 0 8 3 0 4 0 0 0 0 0 0 7 0 0 0 2 0 0 8 0 0 2 3 0 9
5 8 4 1 2 7 6 9 3 6 1 9 3 5 4 2 8 7 7 3 2 6 9 8 1 5 4 2 4 5 9 8 6 7 3 1 1 6 3 7 4 5 9 2 8 8 9 7 2 1 3 5 4 6 9 2 6 8 3 1 4 7 5 3 5 1 4 7 9 8 6 2 4 7 8 5 6 2 3 1 9