Recursion
Recursion
Recursion is a technique where the solution to a problem depends on solutions to smaller instances of the same problem.
Recursion has two cases:
Base Case
Recursion Case
Example:The sum of the first n natural numbers
Base Case
The ba...
visheshraghuvanshi.hashnode.dev5 min read