Skip to content
Tech Interview Prep home
Technical interview guide

Backtracking

Recursive brute-force search with early pruning — build a partial solution, and abandon it the moment it can't possibly work.

Read
42 min
Practice MCQs
25
Interview QA
25
Edition
v7
Editorial status
Reviewed

Scope: Language-neutral, with generator and recursion behaviour cited from CPython 3.14.

Curated: · Written: · Reviewed: