Skip to content

ppedemon/sudoku-solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Solver

This repository hosts a Rust rendition of Peter Norvig's Sudoku solver, implemented using a DFS search and constraint propagation to reduce the search space.

Run it

Feed to stdin text input defining one Sudoku per line. For each Sudoku, [1..9] represents a filled in cell, and [.0] an empty cell. Any other characters are ignored. For example:

cat data/top95.txt | cargo run
cat data/hardest.txt | cargo run

About

Rust implementation of Peter Norvig's Sudoku solver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages