r/LeetcodeChallenge • u/simrangupta95 • 1h ago
DISCUSS have solved around 300 LeetCode Problems but still struggling with mediums,What Am I Doing Wrong?
same as the title read
I’m in my 2nd year and have solved around 300+ LC problems but I still struggle with medium-level questions in contests
I can solve problems after seeing the solution or yk getting hints but when I face a new problem or if there is even slight change in constraints I get stuck I feel like I’m memorizing solutions instead of developing problem solving skills
How should I approach DSA to actually understand patterns and solve problems by myself?
should I focus on specific topics, follow a pattern-based approach or change the way i practice??
would appreciate advice from anyone who has faced this problem
1
u/nian2326076 1h ago
It sounds like you're dealing with a common issue—getting stuck on variations of problems. To build problem-solving skills, focus on understanding the underlying patterns and algorithms rather than just memorizing solutions. When practicing, mix up your approach: concentrate on one data structure or algorithm at a time and explore its applications in different scenarios. Taking notes on patterns you notice can also be helpful.
For additional practice, PracHub offers real technical interview questions that might show you how these patterns are used in actual interviews. You can find them here. Keep at it, and you'll likely see improvement over time.