Recursive
Recursive describes phenomena that reference themselves or are defined in terms of themselves. In mathematics and computer science, a recursive definition or procedure specifies a base case and a rule for producing larger or more complex instances from smaller ones. Self-reference is central to the concept, but termination must be guaranteed by the base case.
In mathematics, recursive definitions define a sequence or object by base values and a rule that constructs
In computer science, a recursive function calls itself to solve subproblems. Each call passes smaller inputs
Recursion can simplify problem solving and code clarity, especially for divide-and-conquer algorithms and recursive data structures
Non-termination occurs when no appropriate base case is reached, leading to infinite recursion and eventual program