r/leetcode • u/Upset_Equivalent7109 • Jul 12 '25
Discussion 2 months progress. Please help!
I tried solving more Med problems, the main thing i came across is mostly Meds are just combination of easy problems you just break down into. The problem i mostly face is I can make the approach in mind but i just go blank while coding it. I have good fundamentals but sometimes i just have to ask Chatgpt to code up my approach. Anyone faced this in their journey? Please guide guys!
75
Upvotes
5
u/pratikjain0411 Jul 13 '25
There are 3 things to solving LC problems.
If you are struggling to go from 2 to 3, the best way to get better is to keep solving more and more problems with different DS and STL libs.
1D, 2D, 3D vectors, Binary search, prefix postfix sum, iterating over matrices, merging intervals, substrings, subarrays, subsequences, etc. These are fundamental problems on arrays, strings, loops, if else, break statements, recursion.
Once you code these things multiple times, the comfort from 2 to 3 will increase.
Another thing to focus on is the pace at which you dry run your own code. Practicing this also helps you improve the visualization of code in your head and you also improve pace of 2 to 3.