Define recursion
Define recursion
Recursion is a programming technique where a function calls itself directly or indirectly to solve a problem. The idea is to break down a complex problem into simpler instances of the same problem, eventually reaching a base case that can be solved directly.