Direct vs. Indirect Recursion
This lesson explains two different types of recursion: direct and indirect recursion.
We'll cover the following...
Direct Recursion
Direct recursion occurs when a method calls itself.
This results in a one-step recursive call: the method makes a recursive call inside its own body.
Access this course and 1400+ top-rated courses and projects.