Don’t Cheat on Interviews. It’s Obvious When You Do
medium.com
medium.com
If your interview is breaking when someone googles information, then your interview is flawed.
To me, were I the interviewer at that point we’d have already moved on to the next problem set or next question in the interview.
Let's have an actual conversation about what I think about a relevant real-world process or problem. Then we're both engaged in learning something. This should not be a setting for exacting a candidate to recite a study of algorithms or discrete structures--go back to campus if we're going to be that pedantic.
I couldn’t promise that I’d make that leap either, sitting sweaty-palmed in front of a hiring manager, but I see what the interviewer was thinking.
Presumably your candidate has a bachelor's degree. By this point in their life they've answered thousands and thousands of questions. They taken countless exams, and there is solid aggregate data which summarizes their performance (GPA, standardized tests, certificates, etc).
By filtering on a few challenging questions, the interviewer is throwing these statistics in the trash and rolling the dice to disambiguate the best and worst candidates. What do you think the variance is on a five question exam? Not great.
Rather than try to assess decades of expertise with five questions, I think you are better served by asking questions which pull in orthogonal information.
Do the candidates career goals align with the companies? Do they seem pleasant to be around (also high variance, but orthogonal). Are they enthusiastic about the position?
Experience and depth are varied. If you happen to ask a niche question where someone has a lot of depth, then you've identified perhaps deep knowledge on that narrow topic, but what about general problem solving and programming skills?
Frankly, I'm amazed at the guts to say you shouldn't just search for the answer. It's what you want an employee to do. Not just sit around and "think about it" for an hour, only to write something terrible. Search it and find someone who's already done it and use their working solution.
I've also had the "guts" to search for things on google in interviews. I've done it doing remote interviews where I share my screen with them. Best time was when I was asked "how do you iterate through a json dict in javascript?" Not being a javascript developer, I'm not sure why they were asking me. But I searched it, and found that one of results to stackoverflow was purple. I told the interviewer "this must be good, since all the other ones are blue." We all laughed (it was a group kind of interview) and I was told "Your Google-Fu is strong."
I very quickly received an offer.
For the people who talk about work experience in the past, there are also extensive guides for this sort of thing. They assume a simulation of what they did. Pretty cool. And incredibly exasperating on the other side.
I mean, if the interviewee hadn’t cheated, he still would have gotten the esoteric sorting question wrong, and probably failed the interview because another person had happened to remember the esoteric sorting question.
So it was really a situation where there was (aside from ethical considerations) no incentive to not cheat.
If it were a situation where we were evaluating the candidate based on actual work related skills, this wouldn’t be an issue. Interviewer could develop a conversation with the candidate and have an interesting discussion about the problem that will give insight into how smart they are and if they can hack it.
That could have been done in this case as well, but instead of giving useful guidance, (“what if you thought about them as strings”) interviewer gave a meaningless clue. That is really just restating the problem parameters and has little to do with the implementation.
Here lies the problem, as long as the interviews are about what you want and/or what I don’t know - I don’t care.
Arguably it's a more meaningful result than someone who simply does or does not know the counting sort algorithm.