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 comments1) They are generally not that hard, there is no 'trick' to the 1st order solution, maybe optimizations, yes, but there's always a straight forward 'brute force' solution.
2) There's 'just enough code' to see how they would basically organize a function or two.
3) Plenty of opportunities to talk about second order small stuff, get the interviewee talking and opportunities to express their insight.
Yes, it's hard to think when 'someone is watching you' or 'under time pressure' - I would tend to leave the room or go away and say 'don't worry about time, just ping me when you're done and ready to chat'.
But I would be reluctant to hire anyone who could not consistently bang out and solve medium level leetcode problems. Experienced devs should be able to knock them out one by one without too-too much time and few hangups.
Last time I interviewed (at ~5 YoE) I found that while Facebook and Google still have several "leetcode" style interviews, many other high-tier companies only do one interview of that type (e.g. Stripe, Dropbox). The rest are some combination of practical coding, discussing your experience, and working through design problems. And even the FB/Google interviews aren't as bad as they sound, because you often have an intelligent and engaged person on the other end who is trying to help you demonstrate your skill, unlike the relative vacuum of working through Leetcode problems by yourself.
You should be able to get really detailed information on the interview process up-front, either on Glassdoor or by talking to recruiters. Pick companies whose interview process emphasizes your strengths.
I feel like there is plenty of room for creativity in the high level solution and working with the customer/user. But it makes sense that when you get down to the nitty gritty, established patterns should be used. Without a doubt other engineers will come after you to work on the code, and the last thing they want to see is a super creative implementation that only you understand.
You might see a similar thing in architecture. A bridge architect might draw up a beautiful, flowing bridge...but at the end of the day the engineers will use the same techniques to make it structurally sound. So...maybe you might like software architecture more?
All comments shown.
Couldn't load more comments. Check your connection and try again.