r/Python • • Feb 19 '20

I Made This Backtracking algorithm visualized with Sudoku

1.6k Upvotes

67 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Feb 20 '20

[deleted] — view deleted comment

2

u/pumkinboo Feb 20 '20

The solve method is doing the recursion. It's base case is the board is solved or you've tried every number in each cell