Leetcode has taught me that I'm a bad engineer
408 pointsI'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 commentsTo get started, first understand that leetcode problems fall into different categories: graph problems, "dynamic programming", double-pointer techniques, etc. And within those broad categories, there are families of problems. So first, stop trying to solve random leetcode and pick one family. How about "Best time to buy and sells stock"? Start with the easiest one. It won't be that easy! Don't worry if you can't solve it. Turn to the discussion where people post solutions, or the official solutions page, pick one solution in a language familiar to you that looks understandable, and study it. It might take an hour or more to understand what it's doing, but stick with it! Make notes, whatever helps you. But get to the point where you absolutely understand how that solution works.
Now, try to write it out from scratch without looking at the solution. And then, try to do the next one in the family. Keep notes for yourself on what your learning. And eventually you'll have learned how to do some graph algorithms, some "dynamic programming" (it's a silly name and a bit hard to define but it's a category) etc. This will all take weeks / months. But that's fine -- your learning the material of a couple of semesters in an undergrad CS course.
It's fun if you enjoy programming and algorithms, in my opinion. If you cannot sit down and learn like that then it is possible that you don't have the sort of mindset that the companies who are employing these tests are looking for.
Algo solving comes down to knowing certain tricks or math properties. On competitive level it seems to be all about memorising solution classes and fitting problem to pattern, which I found boring.
I have 15 years of programming and I was better at algos as a kid as it was kinda fun to solve these back then. There's not much fun anymore, so I don't do it but programming I still enjoy somewhat but more inspired by RL/NLP progress but DeepMind won't hire me :/
> ETL with Spark
Lol, you do ETL with Spark and talk about creativity in the same sentence.
How about designing new platform, startup, game, NLP/vision application, solver, trading bot, search engine, programming language, operating system etc?
> 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 mean that's kinda true in BigCo and many people are fine with that. They want low buss factor and good profit margin and not programming stars. The bright side is you work 9-5 for good salary. Just need correct attitude (I am so inclined to quote hustlers here ;). Express your creativity by paiting, dancing or writing poem and you will be better off and happier.
wanna try finding companies that dont go through this process ? then there payroll isn't nothing close to these leetcode-interview based companies ( factor of 2 to 3 times ) :(
All comments shown.
Couldn't load more comments. Check your connection and try again.