Feeling overwhelmed with DSA does this ever get easier?
Posted by Key_Use_8361@reddit | learnprogramming | View on Reddit | 11 comments
I started learning Data Structures and Algorithms recently and honestly I feel like my brain stopped working arrays and loops were fine, but once recursion and trees came in, I suddenly feel like I understand nothing again Some days I solve problems easily, and the next day even an easy problem looks impossible
For people who already crossed this stage:
- Did you also feel stuck like this?
- Did something specific suddenly make things click?
Right now I’m trying to focus on understanding instead of memorizing solutions, but progress feels slow Would love to hear how others survived this phase
koushikmehta@reddit
I completely understand how you feel. DSA can feel like a massive wall when you first start, but trust me, it does get easier. The biggest mistake most people make is trying to memorize patterns or solutions instead of focusing entirely on Logic Building.
Once you shift your focus to breaking down problems step-by-step rather than worrying about complex syntax, things start to click.
If you are working with JavaScript, I actually put together a complete, beginner-friendly roadmap specifically designed to help people build that initial logic without getting overwhelmed.
You can check it out here: https://youtu.be/4pJ80JiRPu0?si=6V16eMncpr-x1FNj
Take it one day at a time. You've got this!
Meathixdubs@reddit
Recursion clicks when you stop trying to trace every step. Trust the function and what it returns. Still messes with my head sometimes though.
Repulsive-Win7189@reddit
No, that’s not how you click with recursion lol
You find the point of entry in the recursive loop and the exit. There must always be an exit.
The simplest way to connect it is printing values 1 to 10.
PoMoAnachro@reddit
I'm going to kindly suggest that if you're at the place where arrays and loops seem like accomplishments and recursion seems really hard, you're maybe not at the place yet to be productively putting a lot of effort into studying DSA.
Think of it like this - studying French poetry and literature is going to be much more difficult if you're not yet conversationally fluent in French. You need to be fluent in code in order to make quicky headway studying DSA.
There's a reason why stuff like recursion is going to be a 1st year topic for most university students, but DSA classes will mostly get taken in year 2 or 3.
JohnBrownsErection@reddit
When you get your computer science PhD they take you into the back room and tell you that recursion is a lie that only exists to scare the undergrads
YakumoYoukai@reddit
Dude, shut up!
JohnBrownsErection@reddit
I would but I'm stuck in an overflow loop
thefullhalf@reddit
When I was struggling I stumbled upon the Feynman Technique for learning complex concepts and it really helped me. It takes time and is awkward when I you start but it's effective. It helped me identify and have confidence the things I understood while pointing me in the direction of the things that were tripping me up.
Maleficent-Boss5564@reddit
Understanding algorithms isn't really about memorizing solutions.
Earnest_Imp_Games@reddit
Haha recursion is always a brain-killer unless you're living in it, not gonna lie. It gets more intuitive with practice, but it takes a lot of practice ime.
AutoModerator@reddit
To all following commenters: please, do not bring up the old circlejerk jokes/memes about recursion ("Understanding recursion...", "This is recursion...", etc.). We've all heard them n+2 too many times.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.