3 ms·
This interview question sounds disingenuous, if this was the only correct answer. It’s sort of a poorly worded question, and I’d only ask it if I wanted to see
by milesvp 7y ago
This interview question sounds disingenuous, if this was the only correct answer. It’s sort of a poorly worded question, and I’d only ask it if I wanted to see how the interviewer poked holes in it. Even then I’d be sort of an asshole for it. But the main reason it’s disingenuous is the same reason HN has the rule to always be generous with your interpretation of comments. Words are ambiguous, and people take lots of shortcuts to save time at the expense of precision. ‘Hole’ in the context of this question can very reasonably be generously be interpreted as ‘the space where the final hole will be at time q’. It sounds like a ‘gotcha question’, and these have no place in an interview.
Meanwhile, keep your head up. You can sort of learn to turn down the literal interpretation impulses of your brain, if that’s something causing you pain. It’s something I’ve gotten better at over the last 30 years (though its still really hard when I’m tired or stressed). It makes casual encounters easier, and more enjoyable when I do.