Live data from Hacker News

Ask HN: As a candidate do you ask your interviewer algorithmic questions?

news.ycombinator.com

11–19 of 19 posts

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#11
I don't think asking your own unrelated algorithm question is a positive thing when done as part of "your turn for questions"; as overall it is likely to turn off a large number of hiring managers. Think of it this way, with the tiny bit of knowledge they have about you if the impression you leave them with is that you feel you need to be the smartest guy in the room you likely have an ego that their team doesn't need or want. Of course all that depends on how it is done, but if the question wasn't somehow related to help the me (as the interviewer) see how you are a good fit it would be my conclusion pretty fast.

Normally in a good interview environment the conversation will naturally lead to a situation where a candidate asks a tough question or an algorithm etc. Or as happened to me once, they asked me why we didn't use Y, to which my answer was WTF is Y and why would you suggest it as an option here? I was genuinely curious why he felt it might be a good fit and it led to some awesome discussions where he proved to professionally kick my ass in the details. We made an offer that evening to him because as we all sat and talked about his interviews he had made really great observations and was an awesome team fit.

So I think if done as part of the interview conversation fine, but if you are doing it to just try and leave an impression or have a ego contest it is a stupid idea. And I do think you are right to ask non-softball type questions of a potential employer, its a big decision on both parts so you should know what you are getting into too. It really boils down to how it is done.

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#12
post #7

i wish that happened. also in a previous job interview, a guy showed up with a quick map traversal algo written in no less than ms word. right out i recognized the 6 line function, with a bug. while he asked "do you know which data structure this code expects" to which i replied "a graph, and you have a infinite loop on the visited check..." there he cut me as if he didn't want to hear what i was saying and proceed w…

this is a different case: u found a bug immediately which demonstrated ur skills. that guy must be a d-bag to be pissed by that.

what op does is when he has a chance to know more abt the position/company, he chooses to test interviewers like a counter strike. i dont understand what he tries to get out of this: he wouldn't join the company if future colleagues suck? is that a sincere gesture to show his interest in the job?

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#13

I don't think asking your own unrelated algorithm question is a positive thing when done as part of "your turn for questions"; as overall it is likely to turn off a large number of hiring managers. Think of it this way, with the tiny bit of knowledge they have about you if the impression you leave them with is that you feel you need to be the smartest guy in the room you likely have an ego that their team doesn't nee…

" you feel you need to be the smartest guy in the room you likely have an ego "

you pretty much hit the nail on the head.

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#14
TLDR: It would be pretty bad in my team because, IMHO, interviews are a two-way dialogue. More details below.

I do some hiring at a big systems company. We want to simulate your performance as a team member. We treat you as if you're a member of our team already and see how you do it.

Here's what I do:

First 5 mins: - Ask the candidate about their day and how they're doing - Calm their nerves by asking them about something on their resume (their college, previous workplace, some project that caught my eye)

Next 10 mins: - We use C and C++. This is systems programming, so I need people who understand pointers at least. A simple question like string reversal or linked list insertion. While the syntax isn't that important, I need to know that you understand pointers

Next 15-25 mins: - A pre-selected problem from our codebase (or something we're thinking of adding) and see how they would approach it. The solution isn't just code. It is also how it would perform with different memory sizes, disks and cpu configurations. Again, syntax isn't as important as the approach.

Usually, this is the killer question because we tend to go deep into a solution and the problem. This is more like a 1:1 meeting with another engineer instead of a traditional interview. We're basically simulating a problem solving discussion we have everyday. What we want to see is how you absorb the problem and how you start solving it. Doesn't matter if you don't know the best solution from Knuth. What matters is having a good discussion about it and solving the problem the best you can.

If there's time to slip another question: - Ask a quick scripting question. They can choose their language. Again, syntax isn't god almighty. It's more about the approach.

Last few minutes: - Give them time to ask their own questions. Most people ask about the kind of work they'll be doing or the company. Some people like to ask more about the pre-selected problem earlier because those problems are genuinely interesting and relevant.

To answer OP's question, some people do come back with algorithmic questions and we try to answer them too. But this ends up being more of a friendly team discussion instead of clashing egos. To be honest though, we'd really like you to ask some genuine questions about our team/company/product here. This is why asking an algorithmic question back would be bad. It's just unproductive. We want you to be absolutely sure you want to work with us too. As I said before, interviews are a two-way dialogue.

Disclaimer: This is only how we approach interviews in my team. This doesn't apply to all companies, especially the ones which interview people in bulk, have random hiring committees and assign candidate to random teams. We only invite people who we think are a match or who are interested in low level programming and willing to learn.

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#15

I don't think asking your own unrelated algorithm question is a positive thing when done as part of "your turn for questions"; as overall it is likely to turn off a large number of hiring managers. Think of it this way, with the tiny bit of knowledge they have about you if the impression you leave them with is that you feel you need to be the smartest guy in the room you likely have an ego that their team doesn't nee…

I could have worded the post better, but I definitely meant as part of the interview conversation. (I definitely know I am not the smartest guy in the room, nor do I want to be).

I had an interview recently where my solution was O(n^2), which I could tell was bad. I asked the interviewer if he code show me/code up the more efficient solution he mentioned previously. He mentioned that we didn't have time and dismissed my request which is very disheartening.

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#16
post #14

TLDR: It would be pretty bad in my team because, IMHO, interviews are a two-way dialogue. More details below. I do some hiring at a big systems company. We want to simulate your performance as a team member. We treat you as if you're a member of our team already and see how you do it. Here's what I do: First 5 mins: - Ask the candidate about their day and how they're doing - Calm their nerves by asking them about som…

That sounds like a really pleasant experience actually. I think the dialogue here is most important aspect. Most of the interviews I have done the interviewer gives me the problem and sits there silently while I work on the solution.

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#17
post #16
post #14

TLDR: It would be pretty bad in my team because, IMHO, interviews are a two-way dialogue. More details below. I do some hiring at a big systems company. We want to simulate your performance as a team member. We treat you as if you're a member of our team already and see how you do it. Here's what I do: First 5 mins: - Ask the candidate about their day and how they're doing - Calm their nerves by asking them about som…

That sounds like a really pleasant experience actually. I think the dialogue here is most important aspect. Most of the interviews I have done the interviewer gives me the problem and sits there silently while I work on the solution.

[deleted]

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#18
post #14

TLDR: It would be pretty bad in my team because, IMHO, interviews are a two-way dialogue. More details below. I do some hiring at a big systems company. We want to simulate your performance as a team member. We treat you as if you're a member of our team already and see how you do it. Here's what I do: First 5 mins: - Ask the candidate about their day and how they're doing - Calm their nerves by asking them about som…

Why don't you share more info about your company/team and possible opportunities? :)

Re: Ask HN: As a candidate do you ask your interviewer algorithmic questions?

#19
post #15

I don't think asking your own unrelated algorithm question is a positive thing when done as part of "your turn for questions"; as overall it is likely to turn off a large number of hiring managers. Think of it this way, with the tiny bit of knowledge they have about you if the impression you leave them with is that you feel you need to be the smartest guy in the room you likely have an ego that their team doesn't nee…

I could have worded the post better, but I definitely meant as part of the interview conversation. (I definitely know I am not the smartest guy in the room, nor do I want to be). I had an interview recently where my solution was O(n^2), which I could tell was bad. I asked the interviewer if he code show me/code up the more efficient solution he mentioned previously. He mentioned that we didn't have time and dismissed…

I hear you, I don't always word things the best either.

I think your example here is a fair question, but if there is still a lot to cover I may not take the opportunity to answer it either and instead move on to the next part of the interview, if your answer/question gave me what I needed from you. e.g. you gave an answer, and you knew it wasn't the best but were willing to look for other options and collaborate. That said, many times I am the guy who wants to talk through it with you because learning your thought process to me is WAY more important than whether you got the right answer.

Post reply on HN