How to get better at Leetcode?

Nov 16 18 Comments

I will be applying for quant/ML roles at FAANG and hedge funds, and these places are known to ask LC hard even for such roles. Having been in academia for close to a decade now, I am finding that my coding skills are well below the required standards. I am currently struggling with even LC medium.

I have a couple of months to prepare for the interviews. What will be an efficient way forward? I have to finish up some projects at the university, but can spend upto 3hrs/day preparing for the programming part of the interviews. I was thinking something like 1.5hrs/day each for LC and Algos/DS (from something like Steve Skiena's book) for the first month, and then 3hrs/day for LC for another month. Thoughts?

TC: $40k
YoE: 0

comments

Want to comment? LOG IN or SIGN UP
TOP 18 Comments
  • Facebook ⭕w⭕
    Less time writing bullshit analysis posts like this, more time doing leets.
    Nov 16 4
    • Travelport / Eng buttnpushr
      Yeet
      Nov 16
    • OP
      @Facebook - I have been working on LC mediums for a while now, and don't feel like I have made much headway. And LC med -> hard seems like quite a leap. Was just wondering if hacking away at LCs brute force was the only way forward, especially seeing how I don't have a lot of time left.
      Nov 16
    • T-Mobile 🤐it
      Facebook is wise. Just take the advice
      Nov 16
    • Travelport / Eng buttnpushr
      If you are really stuck, take some algorithms MOOCs and reference CLRS
      Nov 16
  • Uber wos883jdj
    How old r u
    Nov 16 4
    • OP
      Age or a longish stint in academia is not a factor for the positions I will be applying for, if that's what you were getting at. The latter is sometimes viewed very positively for some niche roles (at Google AI, DeepMind, some HFs, for ex.).

      How are things at Uber btw? Are they hiring for ML Scientist roles?
      Nov 16
    • Uber wos883jdj
      I'm guessing you are under 23
      Nov 16
    • Uber wos883jdj
      And yes your question but no I dont want you joining
      Nov 16
    • LinkedIn vQIy
      I’m sure anyone seeing your response won’t be terribly excited about joining Uber anyways
      Nov 16
  • New arv1
    Treat this as a research problem. You're currently at X and need to reach Y. Read different ideas and approaches and try to experiment with which approach works for you. Repeat the process that works for you till you reach Y. Document your work.
    In my case, I became good with mediums by practicing about a 100 mediums from different problem categories. I'm using the same approach to get good with hards. Anytime I can't solve a problem, I study it, take notes, and review the problem later. I keep trying to optimize my process or adding new constraints like "solve in 20mins" or "Keep solving for 4hours straight" etc. Hope it helps.
    Nov 16 1
    • OP
      Some nice ideas there. Thanks a lot !
      Nov 16
  • PayPal
    Try Premium Mock. Get some pressure and feeling. I’ve been doing 1+ mock for 2 weeks every day and I feel like I’m getting better (slowly). But ideally the “Explore” could be more systematic. Good luck!
    Nov 16 1
    • OP
      Thanks. This seems like a nice idea. Good luck with your interviews too !
      Nov 16
  • Cerner / Eng
    StyaPichai

    Cerner Eng

    BIO
    This is Satya Pichai. The most powerful man on blind. DM me for acquisitions.
    StyaPichaimore
    As an old saying says, Practice makes anyone perfect. (Dont want to trigger feminists there)
    Nov 16 1
    • Salesforce xrbI46
      ...if you are perfect in practice. 😀
      Nov 16
  • Google / Eng Tier 3
    Just buy the book Elements of Programming interviews
    Nov 16 0
  • EMC noppos
    I found watching some YouTube lectures (MIT) on algorithm is a very good refresher
    Nov 16 0

Salary
Comparison

    Real time salary information from verified employees