🚀 Phases 1–5 are live — Days 1–17 cover the foundations and the algorithmic patterns. See the roadmap →
Day 5 - RecursionPractice QuestionsOverview

Recursion Practice Questions

Six classic interview problems that lock in the recursion patterns you’ve learned. They cover the full range: linear recursion, fast-doubling, divide & conquer, and backtracking.

For each one, before reading the solution, answer the three questions: What’s the base case? What’s the recursive call? How do I combine? If you can answer all three out loud, you can write the code.

Easy

ProblemPatternStatus
Climbing StairsFibonacci-shaped DPAvailable
Pow(x, n)Fast exponentiationAvailable
Tower of HanoiClassic recursionAvailable

Medium

ProblemPatternStatus
Generate ParenthesesBacktrackingAvailable
Subsets (Power Set)BacktrackingAvailable
PermutationsBacktrackingAvailable

More Practice (Coming Soon)

ProblemPatternStatus
Letter Combinations of a Phone NumberBacktrackingComing Soon
Combination SumBacktrackingComing Soon
Word SearchDFS + backtrackingComing Soon
N-QueensBacktrackingComing Soon
Sudoku SolverBacktrackingComing Soon
Restore IP AddressesBacktrackingComing Soon