Home » Interview Topics » Recursion
Recursion
In computer science, recursion is a method to solve problems in which a function calls itself either directly or indirectly.
This is possible, because when solving a problem using recursion, we break down a problem into smaller subproblems until they are solvable trivially.