Skip to content

Ishan7390/Sudoku-Solver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Sudoku-Solver

An Application of Backtracking in Python

Logic

Basically, the algorithm puts in a number and checks if it is valid for the row, column, and the smaller 3 * 3 box, and moves on to the next empty box. When it comes across a situation when it cannot put a valid num, it BACKTRACKS to previous filled spot and tries to look for another number. It's way better than the Brute force approach.

Try It Out in Gitpod

Open in Gitpod

Additional Resources

I used this video to understand about backtracking. Huge thanks to Tim @ Tech with tim for the wonderful explaination.

Releases

No releases published

Packages

No packages published

Languages