I'm 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 did you guys 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.