How do you study Leetcode problems effectively?
What practical approach do you take?
6 Replies
Just solve regularly
If you didn't manage to solve it, don't waste time and look at the solution and learn the concept.
try to apply it elsewhere
from my personal experience
Talk yourself through the problem, use something like excalidraw to visualize. Remember at a technical interview you are expected to talk while you solve, so practice that aspect instead of solving in silence
Also don’t just pick random problems, use a structured approach where you focus on one specific data structure or algorithm at a time. You can use neetcode for that
ooh talking like this?
I am initializing a variable of data type int named x to 5.
I think it might be faster to read the code in that example
I mean talking through your solution as you brainstorm ideas and implement, about time complexity, performance implications, constraints, pros and cons, etc