Skip to content
Codeloom

Topics / Recursion

🌀

Recursion

Base case, recursive case, and the call stack — the mental model behind trees, DP, and backtracking.

Why learn Recursion?

  • Once recursion clicks, half of DSA gets easier.

  • Underpins divide-and-conquer, DP, backtracking, and most tree problems.

  • A genuinely different way to think about state.

What you can build with Recursion

Tree and graph traversals Backtracking (N-Queens, Sudoku, subsets) Divide-and-conquer algorithms

Recursion tutorials

1 article · page 1 of 1

Hand-written tutorials, ordered as a recommended learning path.

  1. 01 Backtracking Master backtracking with reusable templates for permutations, combinations, subsets, and constraint satisfaction problems on LeetCode.