The General Pattern
Learn about common backtracking patterns, such as the implicit tree and explicit tree.
We'll cover the following...
Characteristics of backtracking algorithms
Backtracking algorithms are commonly used to make a sequence of decisions, with the goal of building a recursively defined structure satisfying certain constraints. Often (but not always), this goal structure is itself a sequence. For example:
- In the
Create a free account to access the full course.
By signing up, you agree to Educative's Terms of Service and Privacy Policy