Recursion explained with Inception movie analogy

Rawisglenn
6 min readMar 24, 2022
Photo by Илья Мельниченко on Unsplash

Recursion can be considered an advanced concept that is commonly used in many programming languages such as Java, C, Javascript and etc., for solving algorithmic problems e.g. leetcode. It is easy to understand what it is in a nutshell but grasping how it works is tough!

Rather than looking at wordy explanation with jargons to learn the “How”, let’s do it in a less painful and fun

Rawisglenn

Please help to follow me, I will follow back! Tech is fun, join in the fun! Web Dev x Hackathon x Agile Project Management x Medium Writer Tips *no paywall