Data Structures and AlgorithmsMay 1, 2026 1 min readRecursion A function that calls itself. Breaks bigger problem into smaller subproblems. In recursion we need a base case, otherwise it will give segmentation fault.