How is recursion like a for loop?

The Eric Normand Podcast - A podcast by Eric Normand

Categories:

People think recursion is hard but it’s no harder than a for loop. In fact, it’s got the same parts, they’re just not laid out in the same way. In this episode, we look at how you can spot those three parts in any recursive function.