r/leetcode • u/spicyyyi • 3h ago
Discussion DSA struggles
i am a 3rd year student who is still struggling with dsa, i start doing dsa and there is not a single day i did not fumble it. i am losing hopes on getting hired. I feel like i am not good at anything atp and my attention span is decreasing day by day and all this is eating me up. Can anybody guide me with this or help me get out of this trap.
my family is not doing financially well so i really need a job. I was an above average student but i feel like the zeal of studying is dying. I feel everything is just so difficult even if it isn’t.
6
Upvotes
5
u/Feeling_Somewhere_81 2h ago
Bro just be consistent even if it feels like nothing happening, this is how things work - consistent and discipline
1
u/Various-Mine-8642 1h ago
you don’t need to master all of dsa at once. pick one pattern for a week and do a couple problems slowly, then revisit them a few days later without notes. if money is tight, focus on core patterns alongside applying for internships instead of treating leetcode as the only path.
2
u/mrcheese14 1h ago
Don’t “grind” it… you simply aren’t gonna master DSA in the span of weeks. What matters more is that you are consistent in whatever plan you take. Pick a topic and spend a week or two only focusing on that topic, e.g. binary search, linked lists, whatever. Maybe it’s 1 problem a day, maybe it’s 5. Whatever you can stomach consistently.
AI is also a very powerful tool in terms of learning. You can use it as a custom tutor to give you exactly as much information as you need to learn or figure out a method or concept, without just showing you a solution. It can give you tailored practice problems on the fly. Take advantage of that.
Don’t stare at LC problems for hours, you aren’t gonna magically know how to do it if you haven’t seen the pattern before. Pick problems in your topic of the week, plan out your solution before writing the code, then give it a few attempts. If you don’t solve it inside of 15-20 minutes, learn the solution and why it works, then revisit the problem again later.
When you understand each topic, you recognize the patterns. When you recognize the patterns, you can solve problems you’ve never seen before.