Written by the Fiveable Content Team โข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโขWritten by the Fiveable Content Team โข Last updated September 2025
Definition
Recursion is a programming technique where a function calls itself to solve a problem by breaking it down into smaller, similar subproblems.
Related terms
Base Case: The base case in recursion is the condition that stops the recursive calls and provides an answer or solution directly without further recursion.