How do you retain info from just grinding Leetcode??
Jun 22, 2021
20 Comments
As the title says, how do you guys retain knowledge by just grinding LC?
This is what I have done so far, completed Grokking Coding Interview (took notes on each algorithm/pattern). Try to complete 2 medium/hard LC problems per day.
My issue is, most of the time I have to peek at hints to get to the final answer. But how can I retain this information?? What am I doing wrong?
EDIT: this community is amazing, thank you all so much for your suggestions, please know I do not take them lightly, I will implement each and every suggestion and work to improve. Hopefully in 6mos - year I canβt land that FAANG+ job.
#SWE #SDE #Interview
comments
Don't get me won't LC is the best source of prep work for the interview and I used it, but if you find you always need to look at hints for me that means you lack certain knowledge. Afterwards you still might have to refer to hints but with good foundations you will understand and be able to reapply the knowledge. Most of those problems are solved using very similar patterns.
Thank you so much!
I'd say when you're on leetcode you should focus on identifying common algorithm and ds problem patterns and how to implement them quickly. That just comes by doing a lot of problems. Like grinding through calculus problems. Eventually solving new problems becomes fairly automatic because there are less patterns than there are problems.