by b20000 · 4y ago · 0 comments
This post is an alarming data point showing that leetcode style interviews are damaging to people's health and need to be removed as soon as possible.
I personally dealt with the same issues but have refused to use any medication or alcohol to deal with the stress of performing under time pressure. None of this should be necessary.
You can lower your resting heart rate naturally through exercise over time, and meditation and breathing techniques with practice give you control of your heart rate in the moment.
Sarcasm aside, I’ve started interviewing people with “mock work day” style materials and it’s been pretty effective at determine who has been doing this for a decade, who can do this with a couple months to ramp up, and who is entirely faking it.
I’ll have folks combing through mock stacktraces, creating a new endpoint, connecting to a local database, and even doing a little bit of multithreaded design. I’ll assess completion against quality of the solution and factor in how long it takes someone to complete it.
If you do not have code, then first create a small project. That can be done in a week or two. This requires less time than grinding leetcode.
Some people will say: but you need to be able to solve a problem in under a few minutes. That is utter bullshit. We all know that development doesn't work that way in reality.
Lots of bullshitters out there will find some code they don't own, study it and become well-versed in how it works, and fake their way through.
>If you do not have code, then first create a small project. That can be done in a week or two. This requires less time than grinding leetcode.
Do you mean one of those "interview projects"? Lots of people, especially on HN, would balk at this as "blah blah don't do free work". Those same people will then go back to your first point and say "just evaluate people on their experience.
Back in the day, it was normal to get your former boss to sign off on showing a piece of code in your next round of interviews.
This filters out the best
It was a leetcode style interview (maybe it was through hackerrank? I dont remember), but it was just writing code to hit a JSON-based HTTP API and collect the results into a list. I was encouraged to google things, and explain what I was thinking about in relation to the task.
The task was trivial if you've done it before, but probably not easy if you didn't know how to write code. While doing that task, I was able to expand on my knowledge by talking about what my code was doing.
It was in python, and I was doing it recursively (because that's what I like), so I was talking about how performance optimizations would be to make it iterative instead, if needed. I got into explaining this was because python doesn't have TCO recursion, so it just blows up the call stack if it's too large.
The interviewers were chatty, and were happy to banter and in general be cordial during the interview as well, which I really liked.
At the end of it, I felt really good about the interview and was confident that I had "passed".
You may see Donald Knuth once in a career. It's rare. Don't expect it from everyone.
As an interviewee I use badly copied FAANG style as a red flag. Most will cargo cult interview styles copying what they've seen without thinking much about it. I've seen people memorize and pass interviews because Gayle Laakman McDowell's book was so overused. Do we really believe memorizing the book is better than not testing everyone exactly the same? I don't.
As a person who's sat on both sides of the table, I'm a huge believer in technical conversations, but I believe that's very different than code. To me, programming is not a performance art.
I recommend a few things:
1. Ask for sample code, preferably with git history showing that the author did most of the work or it was pairs or something like that. Ask lots of code review questions: why, how, alternatives, etc. Public github repos are fine. Private git repos are fine too. It's the history that tells the story both in terms of code frequency, velocity, revisions, tests, style, etc. 2. Use a pull request style in which the interviewee is the reviewer: what's wrong with this code? How should it improve? Is it good enough for MVP? What about production? Good opportunity to test whether they can speak truth to power when you show them rubbish that is patently wrong. I always hated reviewing bosses code when I had to march into their office and tell them they needed to fix their broken class inheritance or whatever. Interview is a good time to test for assertiveness. 3. Use pairs style where the interviewer is the keyboard/mouse driver and the interviewee is the navigator/commenter keeping the driver on track. 4. Ask them to bring their own hw/sw stack. Examine the choices and reach your own conclusions asking questions about why/how they arrive at their stack when no one is guiding the choices but them or their influencers. They don't really need to do much, more than a show/tell, explaining choices and why/how. To me, this is really interesting philosophically, particularly if it gets into stuff like *nix that are not the typical ubuntu, fedora, etc. and go off into arch derivatives or left field in a telling, R&D way such as shell, package managers, tmux, language, lint, tests, and so on.
Hope this helps.
I stated my point badly, obviously anxiety is not rational, but on a rational level the stakes of a job interview are quite low (you can take another). It's not like stage fright where if you mess up your performance you could lose your job - you'll likely never see these people again. In that respect it's a bit closer to social anxiety.
Yes, we know it doesn't make sense to be stressed about it, and yet we still are stressed. Saying that we shouldn't be is not constructive IMO.