Ask HN: How do you make the most of a bad interview
I've been doing these interviews for 3-4 years now, and have seen a wide spectrum of candidates from people who finish everything in 15 minutes, to people who maybe don't know all the syntax but can talk me through their reasoning and get to a solution with coaching, to people who explicitly say they don't know how to write code and spend the entire 45 minutes in an awkward struggle session.
It's that bottom half that I'm looking for advice on how to make the most of the interview time. I don't want the candidates to feel like it's been a complete waste of time, and if I can get them to show me that they can share their thought process and learn something, it can push them from a hard no to a soft no or even a soft yes (depending on the position). I'm not a huge fan of these types of white board interviews so I will always give them answers on correct syntax if they can tell me what they want a line to do (and generally act like a knowledge base because there's never an instance in real life where you wouldn't have any of this info available to you). What are some techniques you've found effective when candidates are struggling? When do you stop giving hints and start to give portions of the answer?
Some things I've been doing are In general: - If it's been silent for more than a minute, and the candidate hasn't said or typed anything, asking what they're thinking about - Asking them to explain what they want to accomplish in a normal sentence, and then hopefully pseudocode - Regularly making sure they've understood the question.
Data modeling and SQL: - Making up example data based off the schema they've come up with and posing situations where their model would have issues - Giving example result sets based on the query they've written vs what I've asked for - Giving example data and asking for a query that would return something similar.
Scripting: - Giving counterexamples that don't work with their solution - Walking through their solution with said examples and pointing out the step it fails on - When time starts to run out, giving them a piece of the solution that's been tripping them up the most and seeing if they can move on from there.