Time spent per leetcode question

Amazon
3stoogess

Go to company page Amazon

3stoogess
Jan 9 16 Comments

I end up spending an hour on medium difficulty in #leetcode .

I do end up with correct working solutions in the end but I have the habit on spending too much time thinking deeply about the problem.

I have recently tried rushing myself into a solution within 30 mins but that sometimes end up in me missing an edge case here and there. Occasionally I will rush myself into the wrong approach entirely.

Is taking my time and doing the right thing in 1 hour the recommended way to go forward in my prep? Basically prioritize correctness over speed?

Or is it worth timing myself under 30 mins?

What’s most effective strategy to prepare for #interview #engineering #software #swe ?

comments

Want to comment? LOG IN or SIGN UP
TOP 16 Comments
  • This comment was deleted by original commenter.

  • New
    cm4

    New

    cm4
    This is probably tired advice on here but the blind 75 is literally the best thing you can do for yourself in terms of interview prep. I actually prefer this revised list https://techinterviewhandbook.org/best-practice-questions/ if 75 is too many to get through. I went through these problems twice and it was fairly easy to get every problem in under 30 min after doing it a second time. After these were fast every other problem got much faster. I would also note that you can usually get a problem done faster in an interview as the interviewer will give you nudges in the right direction if you’re making mistakes.

    For reference this prep style got me Google as a new grad and I could do most mediums in under 30 min when I was keeping myself interview ready
    Jan 9 2
  • Dell
    mTwD24

    Go to company page Dell

    mTwD24
    Following.
    Jan 9 2
  • New
    eOFC77

    New

    eOFC77
    I'm trying to understand. How does one work at Amazon and take an hour to solve a leetcode medium?
    Jan 9 0
  • Uber / Eng
    😴restnvest

    Go to company page Uber Eng

    😴restnvest
    It is ok to spend a long time to solve the question when studying, just make sure you can solve 2 medium/hard in 40 minutes when you begin to interview. Speed comes with practice.
    Jan 9 0