Recursive Backtracking For Combinatorial, Path Finding, and Sudoku Solver
Backtracking Made Simple
Backtracking
is a very important concept in computer science and is used in many applications. Generally, we use it when all possible solutions of a problem need to be explored. It is also often employed to identify solutions that satisfy a given criterion also called a constraint
.
In this tutorial, I will discuss this technique and demonstrate it. We'll achieve understanding through a few simple examples involving enumerating all solutions or enumerating solutions that satisfy a certain constraint
.
Let's start on the next step!
