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
Base cases are the conditions in a recursive algorithm that determine when the recursion should stop. They are the simplest cases of the problem that can be solved directly without further recursion.
Related terms
Recursive step: The part of a recursive algorithm where the problem is broken down into smaller, similar subproblems.