Guided lesson

Recursion Basics

Problem Solving

Recursion Basics

Core

Mental model

  • Every recursion needs a base case.

Operations

base case

Cost shape

Depends on branching and depth

Watch out

Missing base case.

Related algorithms

Tree TraversalMerge SortBacktracking
Guided progression
10% lesson
Step 1 / 2Learner goal
Speech settings Speed 1.0 · Volume 90%

Keyboard: Space play/pause · Arrow keys step · Page Up/Down change sections · R restart