Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Sudoku Solver Using Backtracking #142

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jesse231
Copy link

Changes

  • Sudoku.go: Add solver and helper functions

Comments

The Sudoku is solved using a backtracking algorithm. Optimizations could be made to the algorithm
by choosing the cell with the least number of possible values to try first. This would reduce the
number of recursive calls made, but not have any effect on the time complexity and will only result in a
slight improvement given the size of the board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant