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

https://github.com/diego999/sudoku-solver


https://github.com/diego999/sudoku-solver

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# Sudoku-Solver

Sudoku solver using depth-first search as searching method, and using heuristic of the unit which has the minimum number of possiblities. Inside the minimum unit, take the first block which appears with multiple possibilities.

#Efficiency

It solves the hardest sudoku in 0.03 ms. During the search phase, each time a copy of `array>` happens, which is quite slow. The purpose was to use OO to have a proper solution rather than other data-structure (like string) which would have been more difficult to understand.