What is backtracking ??
In a given problem, if all possible solutions is to be found, then we can apply backtracking.
What is bounded function or constraint ?
when finding the solution, there will be constraints can be enforced. Solution which satisfies the constraint will be considered as one of the solution. If the constraint is not met, the path/track will not be explored further. will move onto next possible solution.
Which data structure used ?
State-space tree can be used to track the path traveled to find the solution
Which algorithm most commonly used in backtracking ?
DFS with Recursive
Backtracking problems
N-Queens problem
Maze
sudoku
Backtracking Vs. Branch-and-Bound
Backtracking uses DFS to construct the solution
Branch and Bound used BFS.
N Queens problem - Backtracking
Sum of subsets - Backtracking