- SINGLE CANDIDATE
- If a Cell has a single candidate, solve for that Cell with that candidate
- UNIQUE IN ROW/COL/SECTOR
- If a Cell has a unique value in its row/col/sector, solve for that Cell with the unique value
- UNIQUE PAIR IN SECTOR
- If there are 2 Cells with a matching pair of possibilities, those two Cells must contain those values
- If the Cells are in the same row/col, both of the values in that pair can be eliminated from that row/col
- BRUTE FORCE
- Recursive function that guesses a candidate for a Cell if stuck, and attempts to keep going as normal
- If all candidates for a Cell are attempted and none work, board is unsolvable
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
cohenchris/sudoku-solver
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Sudoku solver written in C++
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published