4 ms·
> I agree with the article that 'leetcode' tests (find that complicated algorithm in 30 minutes while I am staring at you) are bad. But I think coding tests are
by scottlamb 4y ago
> I agree with the article that 'leetcode' tests (find that complicated algorithm in 30 minutes while I am staring at you) are bad. But I think coding tests are good! Give the candidate just a really simple coding task with stuff they normally do every day. Create and delete object, fill arrays, iterate over arrays, and so on. 50% of the candidates will fail! The rest are OK engineers.
Do the candidates know that ahead of time?
Your approach seems similar to what I've done as a coding interviewer and to what my interviewers did when I last interviewed (at Google back in 2007). Assess people's coding with something relatively simple. Make sure they can gather requirements, describe why they chose this approach instead of a couple alternatives, and (if they make a mistake) that they can diagnose it if you describe the symptoms. If you have extra time, have them review some bad code. See if they spot the problems and how they gently help the author understand/fix them. (They also should be tested on system design, but that's a whole other interview slot.)
I'm studying to be a coding interviewee for the first time in 15 years. This process is stressful in part because they just tell you coding on hackerrank/leetcode/coderpad, which is so broad. If the problem they pick is as you describe, I should be fine. If it's for example some advanced dynamic programming problem...well, those haven't come up for me in the last 17 years, so I'm probably in trouble. It's a perfectly valid area of computer science, but it's not one that matches my experience or what I'd likely be doing if accepted. I'm not excited about taking the time to prepare for that, but I also don't want to make a fool of myself if they do. They probably won't pick this area...and if they do, it's probably a bad sign about the company or my understanding of the role...but the possibility is stressful nonetheless.