# Recursion
## CS Concepts — The Codex Coding
**URL:** https://thecodex.expert/coding/concepts/recursion/
**Type:** concept | **Confidence:** high | **Last verified:** 2026-06-01

## CANONICAL DEFINITION
Recursion is a programming technique in which a function calls itself as part of its own definition, solving a problem by reducing it to a smaller instance of the same problem, with a base case that terminates the chain of self-calls and returns a concrete value without further recursion.

## REQUIRES
concepts/functions, concepts/control-flow

## ENABLES
algorithms/sorting, data-structures/trees, algorithms/dynamic-programming

*The Codex Coding — thecodex.expert/coding/ — Free forever — Mumbai, India*
