Career

Leetcode preparation tips

Google l33tc0d3
Mar 11

I just started leetcodoing . It's been two weeks now and I'm not able to do more than 2 problems a day (I have been spending about 2.5 hrs per day in the evenings after getting back from work) and did around 30 problems so far mostly medium and easy and a couple of hard ones (mostly from the "explore" Facebook list)

There are now 798 problems on leetcode. At this rate, I will never be able to catch up :(

I was wondering if people used leetcode for interview prep can share some tips on how to speed this up:
- Did you do all questions on leetcode ? Or do have some strategy to Target the preparation?
- How long did it take before you felt you are ready to interview ?

Any other tips?

comments

Add a comment
  • Symantec sexpanther
    Completing 800 problems on leetcode prints you FB offer. Practice 24*7. Dont eat, drink, poop, fart, sleep
    Mar 111
  • Facebook EqMc07
    I started interviewing recently and this was my observation.

    I solved ~100 problems covering as much area as possible, which was enough to get me offers from Google, Amazon, Apple. It took me ~3 months.

    As an FBer, i got fast tracked and got asked "easier" questions at Amazon, Apple (or i thought so) and most Bay Area companies.

    FB, Google and maybe pre-ipo companies doesnt care about your current employer, but many other companies favors Googlers/FBers or wants to ensure you get hired easily, so you want to focus on soft skills and make up BS stories (stretch truth, but dont lie).

    When given a problem, explain 2-3 different ways of solving it and pros and cons of each. Many leetcoders wont be able to do it, so that will further confirm their bias you are a Googler, and hence should be good.

    All the best.
    Mar 111
    • Google l33tc0d3
      OP
      Thank you for your suggestions.
      Mar 11
  • Accenture / EngRimRax
    How’d you get into google if you just started leetcoding?
    Mar 114
    • Microsoft BlackChain
      Surprising, I know, but there was a time and life before leetcode
      Mar 11
    • Google l33tc0d3
      OP
      I ask myself that question :). I joined Google in 2013 and things were a bit different back then.
      Also in general I feel Google interviews (even today) are not too much about how quickly you solve and write code ..but more about the approach to problem solving (of course you still need to write code but generally you get reasonable amount of time)
      Mar 11
    • Amazon / Eng
      Ghhcsazfyd

      AmazonEng

      PRE
      Oracle
      Ghhcsazfydmore
      How were they different? They asked the same questions
      Mar 11
    • Google l33tc0d3
      OP
      Ok..So looks like things changed at Google interviewing too.. in 5 years since I interviewed.


      But for what it's worth, I am an interviewer at Google and I mostly do system design interviews. When I do read the final packets containing feedback from otherwise interviewers, I see her different questions (rarely any common questions found on leetcode; but I might be wrong.. I having looked at all 800 questions yet :). I only went through the "explore" section and looked at the coding questions there under Google.
      Mar 11
  • McAfee / Engx!
    You are already at Google. What companies are you targeting now?
    Mar 111
    • Google l33tc0d3
      OP
      Not really looking but I want to be prepared before my brain gets Rusty beyond repair
      Mar 11
  • Cisco raj007
    I bought premium subscription today and see 'Top 100 liked questions' and 'Top interview questions'. Should I start here? Or is there a pattern which I should follow. I have planned to use leetcode for 2-3 weeks and start sending out my resume.
    Mar 232
    • Expedia 1@es8$6k
      +1 Im not Engineer but will start checking SQL and Python questions in Leetcode. Where to start?
      Mar 24
    • Qualcomm / Engdynasty001
      I bought a premium too. I just know that Goog/fb love asking about DP/graphs / hashtables.. so inhave started doing the questions from these 3 tags when ordered by frequency. Anytime i dont understand what to do, i go to geeksforgeels and learn the data structire before trying to solve. Also i am practicing in C++ since at work I do mostly C , so its a bit too much learning STLs from scratch for me
      Mar 28
  • Amazon Bubby10
    And I thought that people from Google don't need leercoding.
    Mar 113
    • Facebook EqMc07
      Haha they do, so does FBers. I recently started interviewing and had to do ~100 problems to get in decent shape.
      Mar 11
    • Amazon lSOg33
      I had to do about 100 too to feel even slightly confident 😂
      Mar 11
    • Amazon Bubby10
      Not looking for change but I think I should start leetcoding on fridays
      Mar 12
  • Cisco jerome
    Older Google engineers hired in the last decade never saw any dp problems in their interviews. This is a recent phenomenon where some bad hires got hired and they are attracting more bad hires with such interviews.

    Google's interview used to be so much fun. Interviewing today is just memorizing and spitting some code
    Mar 112
    • Google l33tc0d3
      OP
      I did get a DP question in my interview (well I guess that proves your point though .. considering that this was in 2013..not so long ago).. but my interviews were still fun.

      There was a lot of design debate even for "coding interviews" and I felt interviewers made a genuine attempt to understand me and my way of thinking instead of being like a robot and evaluating me like a machine (i.e making it a binary thing like whether I coded something perfectly or not)
      Mar 11
    • Cisco jerome
      Yup. It's the binary decision making that sucks. Not coding questions. "Oh you wrote this query optimizer that increased qps but you can't do word break...no hire"
      Mar 11
  • Microsoft HCF
    This comes to show that leetcode is a blessing and a curse. Blessing cause interview prep is now standarized. Curse, becuase more people are better prepared but tier 1 companies still have certain capacity. Hence the level of interviews is climbing. Im certain that pre-leetcode time googlers would find it hard to get an offer at Google these days.
    Mar 111
    • Google l33tc0d3
      OP
      Totally agree. This is why I'm trying to be better prepared. IMO, leetcode is great preparation aid but when companies ask the exact same questions, that really makes the playing field uneven (people who solved the exact question earlier can obviously solve it much better in the interview thereby making the folks who are solving it for the first time look slow/inefficient)
      Mar 11
  • New / Ops
    tDYa46

    NewOps

    PRE
    IBM
    BIO
    I eat therefore i am
    tDYa46more
    The Amazon questions should consist of one question "How will you human, be able to sell more stuff to people they don't need ?" You have 30 seconds to sell me this pen , oh and that salt shaker ...
    Mar 110
  • 798 increases every week right? So its not constant as well.
    Mar 110

Download the app for more exclusive content.