Tech IndustryNov 16, 2019
Newseek_alpha

How to get better at Leetcode?

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

Add a comment
Facebook ⭕w⭕ Nov 16, 2019

Less time writing bullshit analysis posts like this, more time doing leets.

Travelport buttnpushr Nov 16, 2019

Yeet

New
seek_alpha OP Nov 16, 2019

@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.

Uber wos883jdj Nov 16, 2019

How old r u

New
seek_alpha OP Nov 16, 2019

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?

Uber wos883jdj Nov 16, 2019

I'm guessing you are under 23

PayPal Nov 16, 2019

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!

New
seek_alpha OP Nov 16, 2019

Thanks. This seems like a nice idea. Good luck with your interviews too !

New
arv1 Nov 16, 2019

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.

New
seek_alpha OP Nov 16, 2019

Some nice ideas there. Thanks a lot !

EMC noppos Nov 16, 2019

I found watching some YouTube lectures (MIT) on algorithm is a very good refresher

Google Tier 3 Nov 16, 2019

Just buy the book Elements of Programming interviews

Cerner StyaPichai Nov 16, 2019

As an old saying says, Practice makes anyone perfect. (Dont want to trigger feminists there)

Salesforce xrbI46 Nov 16, 2019

...if you are perfect in practice. 😀