Lurker News
Just like https://news.ycombinator.com/item?id=26468248, I give up.

I've been at it intensively for a couple months and my mind simply refuses to cooperate. If anything, after having done 400+ problems I seem to be worse at them than when I started.
Since your time is more valuable than mine, let me summarize:
7+ YoE, MSc. in some science (like it matters)
Last 4 years been mostly ETL with Spark and some backend thrown into the mix with a "senior" title for devops and mentoring noobs.
I used to think this job was a creative one, since writing frameworks and libraries for further use, documenting code and extreme programming made me think that I was building something new and useful.
In fact, due to having extreme ADHD the only thing that kept me distracted during all my overtime was the ability to pursue fun and challenging things. MPP and all the cool stuff you can do with modern tools is fun, interesting and challenging.
Leetcode isn't about fun and challenging things, it's about thinking in one particular way, spitting out solutions using the same exact data structures and jumping through hoops on command without philosophizing or creating anything that can be reused/extended.
This is also what Software Engineering has become: you memorize, regurgitate and participate in agile the masquerade. Creativity is shunned. Tried architectures/patterns are what is expected.
I wish I had practiced law for the past 7ish years instead, because at least all of my skills would still be relevant.

Comments (456) 108 threads

Earlier comments
sabas123#
I don't get why most of the critique seems to revolve around memorization. In my (small amount of) experience with LC they seem quite close to regular algorithms exercises. All of which relate to the theory that I got at my algorithms class in some way.
danielmarkbruce#
Do you have a checklist to go through? Something like:

1 - just try to think of a solution. Sometimes you'll just see it. 2 - what if you sort something? Sort the data and see if it helps to see a solution 3 - what if you stick all the data into a dictionary? Does that help? 4 - what if you stick all the data into a tree? Does that help?
Etc etc. You can make a nice long list of things to try. For 90% of the problems, doing one of the things on your list will lead you to a solution.

mrintellectual#
If you've ever done math competitions at the middle/high school level, you'll know that they are fairly poor at preparing you for more applied math. Same goes for Leetcode: it's great for competitions and recreational coding, but "real" software engineering is very different and is much more on the applied side.

Software engineering also requires fairly strong communication skills - something Leetcode doesn't help with at all.

maerF0x0#
Leetcode taught me that the vast majority of engineering problems are rote, and to think of the algorithms and data structures as the primary "Legos" (building blocks) of each task. Besides understanding the algorithms that best represent the problem, the only hard task really is understanding what the customer is trying to accomplish via the proxy of a Product person.

To me the really interesting part of engineering is educating Product people and customers about what computers are best suited to do and to rethink problems in systems of cheap tasks less than trying to fit arbitrary human centric processes (ie, a process that works for humans, but maybe isn't the best fit for a computer). Once we have a really clear agreement of the goal, it then fun to find a way to optimize a computer doing it.
A really simple analogy might be long division[1] -- if you implemented the long division algorithm on a computer you'd waste a ton of LoC, when you (usually, w/ certain caveats) can usually just use a division instruction. Sounds trite, but you'd be surprised how often I see product people, and even "Senior" engineers, just blindly copying a 10 to 100 step algorithm because that's how the humans do it, missing that the problem can be decomposed to a few general patterns and then iterated, recursed, map/reduced, faster when batched etc.
Often times these simpler computer centric algorithms also lead to much simpler code (for each do something simple), vs human centric algorithms often lead to big if/ifelse/else trees or code that does all of the tasks iteratively instead all of _one_ task for all items.
[1]: https://en.wikipedia.org/wiki/Long_division

Load more comments