top of page

Recursion & Backtracking

10 problems · Easy to Hard · Recursion and backtracking

Backtracking is a systematic way to explore all possible solutions by building candidates incrementally and pruning branches that can't lead to a valid answer. This track starts with foundational recursive problems like Permutations and Subsets, introduces constraint-based pruning through N-Queens and Combination Sum, and culminates in two of the hardest backtracking problems in interviews: Word Search and Sudoku Solver.

Why it matters:

Recursion problems expose how a candidate thinks about state — what to pass down, what to track, and when to undo a choice. Interviewers use backtracking specifically to test whether you can write recursive code that's both correct and pruned efficiently, since an unpruned solution almost always times out on real input.

01

Generate All Valid Parentheses

02

Permutations

03

Subsets (Power Set)

04

Letter Combinations of a Phone Number

05

N-Queens

06

Combination Sum

07

Word Search

08

Palindrome Partitioning

09

Combination Sum II

10

Sudoku Solver

Drop Me a Line, Let Me Know What You Think

Thanks for submitting!

© 2026 by WhiteboardReady

bottom of page