Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 789 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 789 Bytes

Rust Sudoku Solver

This a sudoku solver written in Rust. It uses Knuth's Algorithm X to solve the puzzle. The idea and algorithm I got from demofox.

Because Algorithm X uses backtracking, it is very fast and can solve even the hardest puzzles (like AI Escargot) in a fraction of a second.

To test my Algorithm X implementation, I also applied it to the Wikipedia exact cover basic example and the n queens problem. This could be done by converting the problems to the exact cover problem and then solving it with Algorithm X.