I am currently kind stuck and a bit confused about my approach to leetcoding. I have solved a decent amount that I can figure out the pattern of the problem but still struggle to get the optimal solution on most mediums. The biggest problem I have is that I keep forgetting things I learnt weeks ago, and I only start reviewing them when interviews are close. I don't like to burn out, spending 4 hours per weekday and 8 hours per weekend day is something I just can't do. I like to work out so I spend about 2 hours a day and 10 hours on the weekend, totalling 20 hrs per week. I am planning to do this sustainably, can anyone have similar experience shine some light on improvements or things they wish they should've known? TC: 69 LC: 184 solved #leetcode
Get into a habit you can maintain long-term and good things will follow.
Try to build up on techniques and DS to use rather than trying to remember optimal solution to each problem
any advice on how you go about that?
I also have a doc. I'm adding all problems and solutions to it. It makes it easier to review. I have a doc per topic.
A doc per topic, what do you note down?
When lcing: - try to extract the patterns, sub problems, tricks from the original problems. - using a note application to note down and group similar problems into each note, I note hundreds fyi. - if u encounter a similar problem u saw before but forget the note, review it immediately. - its ok to read solutions and implement them on your own, this is how we learn. - be patient, keep lcing and practicing interviews as a habit. Good luck.
I have a doc where I write the logic for each question. Makes revision easier
Can you share that doc ? :)
😂