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 commentsI've been doing this crap way too long to do brain teasers at an interview. I suck at them, I always have. Advent of Code makes my brain hurt.
That doesn't mean I can't design, implement and lead a team to create a service that can handle insane amounts of load with minimal cost.
Can't even think of a similarly stupid thing to ask for a different field. Are doctors quizzed on House[0] -style patient cases to see if they can tell the actual cause from the top of their head?
[0] https://www.imdb.com/title/tt0412142/
Or is it a certification exam comparable to an AWS/Cisco/MS cert?
You just answered a different question. OP was referring to job interviews, not certifications (most certifications in S/W development work the same way).
The analogy would only hold if medical doctors would have to do these multi-hour exams each time apply for a position.
So do they?
I don't know about doctors but police inspectors are definitely trained on Cluedo. /s
But what really surprised me are the portfolios — trainee doctors keep track of things like procedures done, so they can present a portfolio at job interviews.
OSCE example: https://www.gmc-uk.org/registration-and-licensing/join-the-r...
The BMJ on “Creating a good portfolio”: https://www.bmj.com/content/338/bmj.b811
Now that I'm looking again I do see that many companies have switched to practical take-home type stuff, which is far preferrable.
I get the sentiment. I really do. I have been both a programmer and a lawyer. I was a programmer for about 5 years in the late 90s/early 00s. Then I was a lawyer for more than 10 years.
Being a lawyer is not better than being a programmer. For the overwhelming vast majority of lawyers, you either make a lot of money killing yourself with lack of sleep and high stress and wasting your life doing the same shit over and over again, or you make a loooooooooot of money doing that same thing but making a bunch of assholes even more money in the process, or you make very little money but not proportionally less hassle/stress/life-wastage. Yes, your skills do retain relevancy for quite a long time though. There is that. But so what? Still gotta do shit-tons of CLEs every year. Still gotta keep up with the laws and chase clients (unless you're the super rare rainmaker or are okay stagnating).
After I got tired of being a lawyer, I went to be an experimental scientist. This has been nice, but it's not for everyone, of course.
I was going to continue on to a PhD, though my circumstances have changed enough that I am no longer sure if I can do that, as much as I want to do that. I have been thinking long and hard about what to do lately. Having had experience as both a lawyer and a programmer, I tend to lean towards going back to being a programmer.
My only real point though, is, the grass is always greener. :)
In the end, I really do sympathize. I'm not trying to be critical at all.
It sounds like hell compared to a software job.
Software development isn't perfect, but the compensation, hours, freedom, time off, potential upside, even stupid stuff like being able to wear normal clothes or get flights paid for if you want to go to a conference. It's a pretty sweet gig.
LC was obviously to prep for interviews which are time boxed. This means for each problem I had to:
- plan, come up with a pesudo-code and verify the correctness *before* implementing it
- write concise and readable code
- make practical tradeoffs
LC isn't fun. Maybe it is for some folks but it was discouraging for me to some extent since it made me compare with folks who can solve these problems when I'm clueless
But this was the eye-opener at the same time. It was shocking to see someone can solve the same problem with less than 10 lines of code when my code is 100+. It taught me what parts of my code was unnecessary and also some neat tricks certain languages provide
This isn't to say I'm LC God. I still suck at LC but what I appreciate is I get better little by little. I tried a medium level question last night after more than a year of break and couldn't solve it haha
I see your point about creativity. I think algorithms are mostly memorization. I'll never be able to come up with KMP algorithm or gift wrapping algorithm from scratch. However, how to apply these algos on a problem or transforming a problem into another problem that can be solved easily is creativity IMO
I do have ADHD as well and my advice is this is something you have to solve with pychaistrists with different meds and therapies.
LC is not fun but necessary to be a good engineer IMO
It did alter my coding too.
You are not an 3l337 h4x0r who p0wns puzzles for a living. You're a professional software developer who builds useful systems for people and organizations.
It sounds like you know the kind of culture you've enjoyed, and you know what the red flags are. Which makes sense. I think everyone gets pickier as they gain experience.
A classic.
Continue this thread — 1 reply
Even if you don't do well at the single LC style question in our interview loop, you can still pass and be hired, there are other things we ask that are specifically NOT LC type questions.
Find a startup to interview at, skip the 4 LeetCode questions in 4 hours interview.
All comments shown.
Couldn't load more comments. Check your connection and try again.