Guided lesson

Backtracking Thinking

Problem Solving

Backtracking Thinking

Practice pattern

Mental model

  • Use for exhaustive search with constraints.

Operations

choose

Cost shape

Often exponential

Watch out

Forgetting to undo state.

Related algorithms

Generate SubsetsGenerate Permutations
Guided progression
10% lesson
Step 1 / 2Learner goal
Speech settings Speed 1.0 · Volume 90%

Keyboard: Space play/pause · Arrow keys step · Page Up/Down change sections · R restart