DEV Community

Cover image for What is Recursion ?
snehabn3012
snehabn3012

Posted on

What is Recursion ?

This is a submission for DEV Computer Science Challenge v24.06.12: One Byte Explainer.

What is Recursion ?

Recursion is a programming technique where a function calls itself to solve a problem. It breaks the problem into smaller sub-problems, each identical to the original. The process continues until reaching the base case, which ends the recursive calls.

Additional Context

Top comments (0)