A bit of scrolling through tech communities on Twitter or Reddit can reveal a bottomless pit of complaints about the questions asked in job interviews.
From whiteboarding obscure algorithms in linear time to solving cryptic riddles, most people who've been through a few tech interviews have a horror story of something that caught them wildly off-guard.
But what's less-often discussed are the high quality questions β the ones that really help you differentiate yourself or communicate something about the priorities of the role.
So what's the best question you've been asked in an interview? What did you like about it?
If you conduct interviews, what's your favorite question to ask?
Top comments (22)
In an interview for a data engineering position that involved frequent communication with colleagues with non-software backgrounds, I was given short snippets of code and asked to find any bugs and explain why the code didn't work in a way that anyone could understand.
I thought this was a really good question for the role since it tested both my technical knowledge and my communication ability. It came across to me as a condensed version of the type of work I would've been doing there on a daily basis.
I liked this one because it allowed me to indirectly speak to what I feel is worthy of being bragged about. There's no wrong answer, but depending on your experience, you may be able tailor your answer to the position you are interviewing for. The time you were appointed to save a nearly dead project and were successful in doing so. Rewriting a Java back end service in Rust. Etc. It's a fun one.
I like this one because it allows the candidate to show their personality outside of coding.
This allows the candidate to display humility and it shows self-awareness. A lot of egotistical people have trouble answering this without lying.
I highly dislike discriminatory questions like:
Yeah I also like questions about hobbies and weaknesses. I was once asked to list 3 strengths and weaknesses when I had only prepared one answer for each. It caught me off guard a bit, but it prompted more introspection than is usually expected of me in an interview.
Also, I'm sorry that you've been asked those last couple questions. No one should ever ask that in a job interview. Depending on where you live, those questions may even be illegal
βHow would you test this?β
Itβs astounding but in over a few dozen interviews I can only remember being asked this twice.
I've heard that some interviewers will intentionally not mention testing when asking a coding question to see if the interviewee will bring it up themselves and prove that they actually consider testing when they write code.
When I'm writing a function in an interview, I like to start out by defining what some unit tests would look like (not actually writing tests, more of a mapping of the expected outputs given certain inputs). Not only does this show that you're thinking about tests, but it gives you a chance to confirm that you understand the intended functionality before you write the code
I love your approach with starting out by defining what unit tests would look like.
Please encourage anyone you meet who thinks that not mentioning testing in an interview to see if the interviewee will bring it up to knock it off. That's obnoxious and an example of a toxic interviewing habit IMO. Here's just a few reasons why. First, how do they know that the interviewee is not doing the same thing, and specifically omitting mention of tests to see if the company they are interviewing for tests anything? That's a zero sum game when both walk away thinking the other doesn't test for no reason other than that they are bad communicators. Second, interviewing should never be a guessing game. There's (usually) only 45 minutes with each other and there's far more content to cover than the time allows. If testing is important it needs to be a focus. Finally, interviewees are in a situation with a huge power imbalance and even the most experienced person can overlook one thing or another in the moment.
Oh I totally agree. There should be clear communication about the expectations in an interview, and it's a bit of a red flag when there isn't.
Unfortunately, job interviews can often become a platform for people to exercise their own personal psychology theories.
βWhatβs your passion?β
Itβs more of a disqualifying question because youβll eliminate people who donβt have drive
What if someone's passion is arduino or soccer? Do you disqualify the candidate if they're a good software engineer even if they have another overriding passion?
Software/βthe job being interviewed forβ is rarely the candidateβs passion. The question is meant to examine how someone expresses their passion.
If itβs soccer, do they organize a group to play or watch matches? Do they coach or volunteer at a soccer related organization? Usually people have a good answer, because itβs their passion.
However, you do get people who say the equivalent of βsoccer is my passion,β and then if you ask basic follow ups about the last time they played or even watched a match, they donβt have an answer or theyβre not remotely excited. When someone canβt communicate anything about their βpassion,β they likely either lack communication skills or have very little drive
Ah got it. This made me think of a time I met a passionate interview candidate. There was a dev we interviewed a couple years back who wrote novels in his spare time and self-published them on Amazon. He pitched his latest book and tried to sell each person on the interview loop a copy. π During the hiring committee meeting afterward, we all realized that he had done this for everybodyβall five people! We had to admit that the guy had passion ... but we also declined on the very same basis. Most people felt it was inappropriate and used up interviewing time. π€·
Lol I'm glad they care about their book, but I can't imagine trying to sell a book to an interviewer π€£
Context: No coding in the interview, just deciding how the architecture and the building blocks should look like and interact.
Interviewer: Do you know Uber eats or GlovoApp?
Me: yes
Interviewer: Ok, start.
Simple:
"Describe your past projects and how their experience is relevant to the job you are applying for"
In the end that is what matters most. (Kinda stinks when you're too junior though)
The best question (best being highly subjective here) I got was, 'What type of animal would you be if you had to choose?'
The second best would have to be, 'Are you ambitious?'
Oh good grief. If an interviewer ever asked me "What type of animal would you be if you had to choose?", I would respond with "What? Are we in 8th grade?".
I like something like "What's the best non-tech job you've ever had and why?".
As for me, "Have you contributed to an open source project?" Even thought I couldn't answer that myself, I got so much interested in the question.