An open API service indexing awesome lists of open source software.

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.

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.

![Solving NYTimes Hard puzzle](https://raw.githubusercontent.com/richhaar/DancingLinksSudoku/main/img/sudoku.png)

### 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)