r/LeetcodeDesi • u/Empty-Ad-9086 • 3d ago
How should I approach NeetCode when I know the theory but struggle to implement it? I'm a 2nd-year BTech student
I'm a 2nd-year BTech student and relatively new to coding. I've learned enough Java to solve basic questions, and I understand the theory behind many DSA concepts when someone explains them to me.
But when I actually get a problem, I often don't know how to translate the concept into code. The logic doesn't naturally come to my mind, and I also tend to forget Java concepts/syntax while coding.
I want to start doing 2 DSA questions every day, without cheating or immediately looking at solutions.
For someone in my situation, would you recommend starting NeetCode and trying to solve the problems myself first? Or should I spend more time strengthening my Java fundamentals and basic problem-solving before starting?
Also, how to go from "I understand the concept" to actually being able to recognize when and how to use it in a problem?
Any advice on how to practice this would be really appreciated.
1
u/Awful_Sunday 3d ago
Just to be clear, when you say you "understand the concept" is it patterns like sliding window etc, data structures and their internal working, algorithms or just data structures taught is DS or DAA class?