DEV Community

Cover image for What is Recursion ?
snehabn3012
snehabn3012

Posted on

1

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

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay