Ask HN: Does grinding Leetcode have the highest ROI?
16 points| dondraper36 | 2 years ago | reply
Due to my current family circumstances, it's not an option for me to relocate.
I have been in backend engineering for about 5 years now but I'm starting to feel that the atmosphere in my current team is deteriorating every day.
Even though it's highly likely, there might not be an open position in another team within the same company.
Here's the question: what is the most pragmatic way to be in good shape should I leave the current job?
I constantly try to improve in pure backend-related aspects like my default programming language, databases, system design.
That said, it seems that a lot of companies where my income could increase in a statistically significant way, Leetcode style interviews have become very common.
I am making the conclusion that being good enough at Leetcode problems is a pretty safe bet.
What do you think?
[+] [-] idoh|2 years ago|reply
[+] [-] PartiallyTyped|2 years ago|reply
[+] [-] dondraper36|2 years ago|reply
I spend time studying system design with Designing Data-Intensive Applications and resources like System Design Primer, but you have to be good at Leetcode before you can even get to that stage.
[+] [-] markus_zhang|2 years ago|reply
[+] [-] speedgoose|2 years ago|reply
Personally I would also work on my portfolio.
[+] [-] dondraper36|2 years ago|reply
The really stupid thing about a lot of such problems is that implicitly they require pattern recognition and probably even memorization. For example, solving the problem of finding a duplicate number in an array/list with O(n) time and O(1) space complexity is pretty hard, in my opinion. Even knowing the required data structures doesn't help a lot unless you know the trick with fast and slow pointers. To be fair, this particular pattern is well-known and should be in your algorithmic toolbox if you're aiming for FAANG, but the whole situation is a bit strange.
[+] [-] jstx1|2 years ago|reply
But if you're able to get interviews, yes.
[+] [-] dondraper36|2 years ago|reply
Life happens, however, so I decided it's never wrong to be ready for a sudden interview. Even though I am not ready to relocate now, there might be a non-FAANG company with a great remote-friendly offer.
[+] [-] asdfzalsd|2 years ago|reply
this thread got a lot of traction how to properly leetcode grind: https://twitter.com/pwang_szn/status/1674719490993688577