mirror of
https://github.com/onyx-and-iris/grokking-algorithms.git
synced 2026-04-16 11:33:34 +00:00
upd readmes, rename exercises.
This commit is contained in:
10
chapter3/README.md
Normal file
10
chapter3/README.md
Normal file
@@ -0,0 +1,10 @@
|
||||
# Recursion
|
||||
|
||||
Recursive functions must have both:
|
||||
|
||||
- one or more base cases
|
||||
- a recursive case
|
||||
|
||||
The base cases are required to ensure the recursion stops when meeting a condition
|
||||
|
||||
The recursive case adds functions onto the call stack and completes each one top down.
|
||||
Reference in New Issue
Block a user