https://github.com/richhaar/dancing-links-sudoku
Sudoku solver using Donald Knuth's AlgorithmX with dancing links. Written in C++, solving sudokus in sub 1ms.
https://github.com/richhaar/dancing-links-sudoku
algorithmx cpp dancing-links sudoku sudoku-solver
Last synced: 2 months ago
JSON representation
Sudoku solver using Donald Knuth's AlgorithmX with dancing links. Written in C++, solving sudokus in sub 1ms.
- Host: GitHub
- URL: https://github.com/richhaar/dancing-links-sudoku
- Owner: richhaar
- License: mit
- Created: 2022-02-19T20:31:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-21T10:41:38.000Z (about 3 years ago)
- Last Synced: 2025-01-11T16:39:11.192Z (4 months ago)
- Topics: algorithmx, cpp, dancing-links, sudoku, sudoku-solver
- Language: C++
- Homepage:
- Size: 228 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sudoku
Sudoku solver written using Donald Knuth's AlgorithmX with dancing links, see [paper](https://arxiv.org/pdf/cs/0011047.pdf).
Capable of sub 1ms solutions.
### Planned improvements
* Add GUI, possibly through WIN32 API
### Acknowledgements
* [Dancing links paper](https://garethrees.org/2007/06/10/zendoku-generation/) by Zendoku
* Donald Knuth for the original paper on AlgorithmX
* Robert Hanson for an [ASCII representation of the exact cover matrix](https://www.stolaf.edu/people/hansonr/sudoku/exactcovermatrix.htm)