1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-08-30 12:40:03 +02:00

Added description and resources to Recursion - JavaScript Roadmap (#1689)

* Added description and resources

* Update content/roadmaps/106-javascript/content/109-javascript-functions/105-scope-and-function-stack/100-recursion.md

Co-authored-by: Kamran Ahmed <kamranahmed.se@gmail.com>
This commit is contained in:
CodeGuage
2022-09-04 18:50:20 +05:00
committed by GitHub
parent c379cd250f
commit ebcdef7cf0

View File

@@ -1 +1,8 @@
# Recursion
# Recursion
One of the most powerfula and elegant concept of functions, recursion is when a function invokes itself. Such a function is called a **_recursive function_**. As recursion happens, the underlying code of the recursive function gets executed again and again until a terminating condition, called the _base case_, gets fulfilled. As you dive into the world of algorithms, you'll come across recursion in many many instances.
<ResourceGroupTitle>Free Content</ResourceGroupTitle>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://javascript.info/recursion'>Recursion and Stack</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://www.codeguage.com/courses/js/functions-recursions'>JavaScript Function Recursions - CodeGuage</BadgeLink>
<BadgeLink colorScheme='yellow' badgeText='Read' href='https://developer.mozilla.org/en-US/docs/Glossary/Recursion'>Recursion - MDN</BadgeLink>