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

https://github.com/gupta-aryaman/sudoku-solver

A program to solve different sudoku boards, irrespective of the size, using backtracking algorithm which recursively tried to build a solution incrementally
https://github.com/gupta-aryaman/sudoku-solver

backtracking-algorithm python

Last synced: 8 months ago
JSON representation

A program to solve different sudoku boards, irrespective of the size, using backtracking algorithm which recursively tried to build a solution incrementally

Awesome Lists containing this project

README

          

# Sudoku Solver
The code divides the whole 9x9 sudoku board into 9 rows and as it satisfies the values in empty spaces it simultanously keeps checking the validity of that number with
respect to the rest of the board.

The sudokuSolver is based upon backtracking algorithm.

Backtracking - trys to build a solution incrementally and recursively. If a value entered violates the base set rules, then it backtracks and checks for another value
untill answer is found

![inititalBoard](https://user-images.githubusercontent.com/34962578/201662134-0adddf87-6ada-4331-b4b1-d4777f765f5a.png)

![solvingUnderProcess](https://user-images.githubusercontent.com/34962578/201662275-3c6ae8c7-18f8-4bca-b9ca-eb4958a3fa53.png)

![solvedBoard](https://user-images.githubusercontent.com/34962578/201662309-b4402a5d-7d7f-43be-aaa4-e17eefb893b7.png)