Please enable JavaScript to use CodeHS

Chapter 10

Recursion

10.1 Recursion

What is Recursion?

Summing

Sum Array

Fibonacci Recursion

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Counting

Vocabulary

Term Definition
Recursion An iterative process where a method calls itself.
Base Case The simplest version of our recursive process. This is the point when the problem cannot be reduced any further.