Recursion refers to the process of a function calling itself. It allows for solving complex problems by breaking them down into smaller, more manageable subproblems.
Related terms
Base Case: The condition that stops the recursion and provides the solution or result.
Recursive Call: The act of a function calling itself within its own code.
Stack Overflow: A situation where the call stack, which keeps track of function calls, becomes full due to excessive recursion.