How To Really Understand Recursion

Most tutorials on recursion are misleading!

Hemanth
Street Science
Published in
7 min readJun 30, 2022

--

How To Really Understand Recursion — An illustration of four recursive dolls, where the biggest doll on the left opens up to reveal a smaller doll. This doll in turn opens up to reveal an even smaller doll, and so on. Three dolls from left to right are drawn using pink and black dual colour tones. On the extreme right, the last doll uses inversed pink and black colour tones. Below the dolls, the text “RECURSION” is written in all pink, except “N”, which is in black.
Illustrative art created by the author

Recursion is one of those computer science concepts that drives students crazy and makes programmers drool. There is something captivating about it, yet it has certain features that seem out of grasp even for the experienced professionals.

--

--