Basic Syntax

Recursion

English

Overview

A technique where a function calls itself to carry out processing.

Details

A technique that solves a problem by breaking it into smaller subproblems through self-calls. Getting the termination condition wrong leads to an infinite loop or stack overflow.

More Programming terms