Wikipedia.org.ai logoWikipedia.org.ai

Recursion

Recursion occurs when the definition of a concept or process depends on a simpler or previous version of itself. Recursion is used in a variety of disciplines ranging from linguistics to logic. The most common application of recursion is in mathematics and computer science, where a function being defined is applied within its own definition.

Extends: Recursion, [Theory of computation](https://wikipedia.org.ai/Theory of computation), Self-reference, Feedback, [Articles with example C code](https://wikipedia.org.ai/Articles with example C code)