- Advanced
- About 14 min
Recursion in depth: base cases, tracing, the call stack and recursion versus loops
Trace recursive functions such as power, digit sum, GCD and Fibonacci, count the calls made, and compare recursion with iteration.
If something looks wrong, please tell us.
This lesson is part of a premium course. It comes with Sikhora Learning membership. The course's free preview lessons are open to everyone.