Pattern 22: LeetCode Interview Patterns24 sections · 736 units
Open in CourseQuiz: Backtracking Essentials
Test your understanding
Check Your Understanding
In backtracking for permutations, what must you do after recursing on a choice?
- A.Nothing - the recursion handles everything
- B.Mark the choice as permanently used
- C.Clear all choices and start over
- D.Undo the choice to restore the previous state