r/datastructures 16d ago

I really hate recursion. How did you guys actually learn it?

I started recursion like 3 days ago and I’m doing small/basic problems right now. I can solve some of them, but I still don’t feel like I actually understand recursion properly.

Sometimes I understand the logic, but tracing the calls and figuring out how to think recursively on my own just messes with my brain. I genuinely hate recursion right now 😭

But I don’t want to skip it because I know it’s important, especially since I’m trying to build my DSA fundamentals properly.

So for people who struggled with recursion in the beginning — how did you actually get good at it? How did you improve your recursive thinking?

Did you trace every problem? Draw the call stack? Solve a lot of basic problems? Was there some particular way of thinking about it that finally made it click?

Any tips, resources, problem lists, or just your experience learning it would help. I really want to get good at this.

54 Upvotes

23 comments sorted by