Member-only story
In Defense of LeetCode
There seem to be two camps of people in the software engineering world: those who live and die by LeetCode and those that write it off as a kind of a parlor trick or an exercise in memorization.
“I’ll never use this in real life!” they protest! Meanwhile, every FAANG company and many others, will test you on problems that are similar to LeetCode or ripped directly from their site (I’m looking at you Facebook).
I approach LeetCode like exercising: 30mins — 1hr a day will keep you in good shape, while 4 hours or more is really only helpful if you plan on being a body builder or in this case, a competitive LeetCoder.
I’d argue that solving problems on LeetCode isn’t just beneficial when you’re on the job hunt but can ultimately help you solve the kinds of problems that you will encounter on a daily basis, especially as a front end developer.
While most of the LeetCode hard problems involve dynamic programming or recursion, a lot of the easy/medium problems resemble the sort of issues you are likely to see when you’re traversing objects, looking for unique elements in an array or any data munging scenario that has to be done on the client or server side.
I also think there is a lot of value for self-taught or bootcamp-taught developers to dive into technical problems that require some computer science…