r/LeetcodeDesi • u/Quirky-Extent-8423 • 14h ago
DSA PREP
What do you do when you’re completely stuck on a DSA problem?
Sometimes you just have to look at the solution. Once you do, how do you actually learn from it so you recognize the pattern next time and don’t forget it?
Do you force yourself to solve it again from scratch later?
2
Upvotes
3
u/Kvaraistic 14h ago
Practice, practice, and practice, and never give up, this attitude will help you figure everything out on your own. DSA, 99% of the time, is about not giving up. You will always forget things, and you can take any subject as an example, there will always be a set of topics that need to be revisited again and again, which is the same with DSA.
Spaced repetition is the best technique here. Make a problem list on leetcode that need revisit. Just at the solution next mrng and next mrng and next week mrng before going for brush. This will help for sure.
1
u/CuriousSoul1419 9h ago
been in the same situation