Skip to content

Trietptm-on-Coding-Algorithms/Sudoku-Solver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Sudoku-Solver

Solves Sudoku by reducing Sudoku to the exact cover problem and using Knuth's Algorithm X. The algorithm is implemented in Python 2.7 using the efficient dancing links technique.

Usage

Redirect standard input:

python solver.py < [PATH TO PUZZLE]

Input Format

Columns are not separated Rows are separated by new lines Unknown values are represented by 0s

Example:

000790050
352008040
000000080
010070004
600301008
900080010
020000000
040500891
080037000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%