Is it a good idea to revise 300 LC problems that I solved earlier or keep on trying new? Its not that I solved all 300 by myself. Some I saw the solution and coded it. I dont remember that count. It was always on and off. As a result, I dont have much confidence on my LC skills. Any recommendation? I set 2 months of time frame to improve on coding skills and confidence. Possible? Or shall I keep trying hard and try out Google tagged questions, and suffer from low confidence. What’s the problem here I cant find out. Can anyone spot it? Undecided about quality over quantity or quantity over quality. #leetcode Thanks in advance.
I split my time between learning new problems and revisiting old problems, with a focus on problems high on the frequency lists.
How many LC did you do
Before my interview I was at ~800, but I was compensating for my lack of useful education/experience, so that would be overkill for a lot of people.
Folowing
I think you should regularly revisit problems you had difficulty solving... Not even after 300, but every once in a while. And if you understood it well after the first time when you looked up the answer, you’re gonna solve it quickly this time anyway. If you’re not quick - that just confirms it was the right thing to revisit it
You should reach a point that you're able to solve most mediums without help in less than 30 minutes. At FB interview for example you'll have to solve 2 medium questions in 50 minutes
Jeez! But how?
Practice. When you do LC make sure you don't look at solutions unless you have to. Timebox yourself to about 45 minutes per question. When you look at a solution make sure to circle back to that question later and make sure you can code it up. No point looking at solutions only to forget the solution and not being able to code it. Also take a look at the book Elements of programming interviews. It has medium-hard questions that appear in interviews
Take it easy.. If you have a solid bachelor/master, you will just be fine. I only did 20LCs but had no problem getting Google/Salesforce, etc offers. Learn some typical problems and that's it
How? Dm me if you wanna invest one dm lol
You got offer from Google and chose Salesforce. What was your thought process when you made that choice?
I don’t know man. If you’ve looked at 300 questions and aren’t ready maybe rethink your approach and read/hit the fundamentals harder
I would not say that fundamentals are weak. It’s just that I cannot articulate my thought into code sometimes. When I look into most votes solution - I say damn, this is exactly I wanted to code, but missed some conditional statement or some cases .. etc. Hard problems - a different story though.
I’m saying maybe you’d be better served going deep on algos and reading. Like going through IAT or something. Imagine you’re a golfer who wants to improve their swing. You wouldn’t just keep smashing balls, you’d learn what a perfect swing should be and tend towards it