Lesson 4 of 20 · about 15 min
Recursion
A recursive function solves a problem by calling itself on a smaller version of the same problem, until it reaches a case so small the answer is obvious.
🔓 Unlock this lesson
This lesson is part of the DoingCamp Pass. Members get every lesson in every course, with all the interactive visuals, coding exercises and challenges.
In this lesson you'll learn:
- Recursion
- Base case
- Recursive case
Free to try in F03 Programming 2: Abstraction & Recursion:
The first 3 lessons of every course are free, no account needed.