News for hackers. Stuff that matters.
Re:Google rejected me and now I'm building a search engine by kevmo314 on Tuesday July 02, 2024 @12:48PM (#40858339)
I'm sure the post's author doesn't need interview advice anymore but in case there are any prospective interview candidates out there, completely freezing during an interview is a super negative signal. Even if you need to manually multiply out 2's on a whiteboard it would be more productive than saying "I don't know".

In my experience the only reason you should say "I don't know" is if you're going to follow it with "but if I had to guess" or similar. Sounds like the interviewer definitely came on strong but being able to ace the psychological part of an interview is often as important or more important than the actual solution.

Re:Google rejected me and now I'm building a search engine by withinboredom on Tuesday July 02, 2024 @12:50PM (#40858360)
Asking questions irrelevant to the position is also a pretty good red flag that you don't want to work there.
Re:Google rejected me and now I'm building a search engine by cloverich on Tuesday July 02, 2024 @03:59PM (#40859932)
It's a conformity test, though it's not often viewed that way. If you interview enough you get really good at passing them, surprisingly quickly. Ultimately they want to hire people that fit a certain mold, because they understand how to utilize them. It is only a red flag if you aren't that type of person, or don't enjoy pretending to be one.

IMHO it is also the reason they can't generally make their own (good) products any more, without acquiring / copying -- that is not the type of people they hire (more artistic / risk taker types).

Re:Google rejected me and now I'm building a search engine by arandomusername on Tuesday July 02, 2024 @01:05PM (#40858521)
The point of the question is to see your problem solving skills, not if you have your 2s memorized. Anyone with basic math skills should be able to arrive at the answer.
Re:Google rejected me and now I'm building a search engine by withinboredom on Tuesday July 02, 2024 @01:10PM (#40858574)
My answer would have been the same. When asked to work it out, I would have pointed out that I simply wouldn't; not because I don't know how, but because if I need to know the number of bits it takes to store such a specific number, there is probably a reason. That reason could be storage of some form, such as wire protocols or files, and I don't want to fuck it up because I miss a step or misremember something. So, no, I won't even bother memorizing it, let alone, calculate it by hand.
Re:Google rejected me and now I'm building a search engine by arandomusername on Tuesday July 02, 2024 @01:19PM (#40858661)
It seems like you aren't capable of differientating between an interview and real work. This isn't an exercise to see if you can figure out how many bits it takes to store a number. It is a test to see how you approach a problem, if you can break it down (2^10 = 1024, 2^10*2^10 = 2^20 = 1m), and arrive at a solution. It's a simple problem that doesn't require you to be a math wizard.
Re:Google rejected me and now I'm building a search engine by notarget137 on Tuesday July 02, 2024 @01:51PM (#40858917)
I come to the interview to get a real job not to please the smart "gotcha!" recruiter.
Re:Google rejected me and now I'm building a search engine by arandomusername on Tuesday July 02, 2024 @03:09PM (#40859579)
Those aren't gotcha questions.

And part of a real job involves solving real problems. In an interview, you have a very limited time, so you have to come up with questions that test the candidate's ability to solve problems within a certain timeframe.

Re:Google rejected me and now I'm building a search engine by withinboredom on Tuesday July 02, 2024 @03:26PM (#40859703)
Except the problem is (which I didn't state but pointed out) is that this isn't really a "problem." It's just math. That's it. If you want to know if I know how to multiply two numbers together, you might as well just ask me if I know what 2*2 is and move on to the next question.
Re:Google rejected me and now I'm building a search engine by arandomusername on Tuesday July 02, 2024 @05:46PM (#40860720)
Are you insinuating that the article writer doesn't know what 2*2 is? As their original answer was, "I don't know".
Re:Google rejected me and now I'm building a search engine by withinboredom on Wednesday July 03, 2024 @02:12AM (#40863215)
IIRC, their first reply was what they would type into a calculator, not “I don’t know”. Only when confronted of what the result would be did they say “I don’t know”, because any human with a life wouldn’t know off the top of their head.

Another example is from my own "worst interview ever" where the guy asked me to implement a BFS and a DFS on a tree. I mentioned that I'd literally been debugging an issue with a DFS algorithm all day at $dayjob, so should be a piece of cake. I wrote out the DFS example in 10s, but then when I got to the BFS, I spaced out on how to write a for-loop. The interview literally just laughed at me, saying, "that sucks for you" so instead I simply showed him how a BFS works and his answer was, "I don't care, I want to see code."

As an interviewer, I get it. I expect you to know concepts, not be able to perform rote actions and put on a show.

Re:Google rejected me and now I'm building a search engine by blharr on Tuesday July 02, 2024 @08:35PM (#40861755)
It is a gotcha question. In fact, "log2 of 56 million" should probably be the best answer. It means you don't waste time brute forcing the problem and instead know exactly how to get the solution, but they wanted a specific answer that you compute by some heuristic. Why?

Either way, if a candidate misses such a question it shouldn't be a negative. Using such a question as a filter is a bit ridiculous.

Re:Google rejected me and now I'm building a search engine by subarctic on Tuesday July 02, 2024 @01:07PM (#40858537)
It's still good to do well at interviewing even for jobs that aren't the best fit for you, because whether you want to take those jobs or not, it will help you when negotiating for the job you really want to have those other offers in hand.
Re:Google rejected me and now I'm building a search engine by shadowgovt on Tuesday July 02, 2024 @12:52PM (#40858377)
Yeah. As a former interviewer: this question was stupid. Don't ask a candidate to solve a problem the machine can solve trivially via brute force.
Re:Google rejected me and now I'm building a search engine by keb_ on Tuesday July 02, 2024 @03:24PM (#40859672)
I always remember this old blog post: https://aneccodeal.blogspot.com/2014/02/interviewing-for-anx...

I haven't done a whiteboarding interview for a while, but I remember them vividly. Hot flashes, sweating, stomach churning, anytime I'd be asked a question I am definitely capable of answering, my brain would shut down and refuse to start back up again. The most apt thing I could compare it to is stage fright. Even something like simply multiplying 2's would seem impossible to me in that state of mind.

Aside from seeking professional help for dealing with anxiety, I'd recommend programmers with anxiety to avoid whiteboarding interviews [1] or at the very least let it be known ahead of time that you get stage fright.

[1] https://github.com/poteto/hiring-without-whiteboards

Re:Google rejected me and now I'm building a search engine by cloverich on Tuesday July 02, 2024 @04:06PM (#40859982)
One of my favorite bombs is I was asked a "real" coding question, basically a function that returns some config or another function. Anyways they somewhat lead you into a simple if statement, or a switch in my case, and then dump more examples until you come up with using a map instead. Which is something I didn't do in the interview, and most definitely (implicitly) failed. It wasn't until I was back on my side project, happily solving the same problem but using a map of course (i dont generally use switch statements in my actual code). Oh, duh lol, that's what they were asking me. They probably think I don't know how to program.

That was a turning point for me, because as far as questions go it was very fair. And yet, it had the same effect. 20 interviews later I was acing far more difficult questions, being rather polished (and ahem, interview questions aren't generally very unique). So I guess I interviews at that place too early. Maybe its useful? IDK. For me personally, it seems like really good people have a track record of shipping good stuff (or doing other good things in life), and can generally explain what it is and how it works. They usually have former colleagues you can talk to as well. Some of them even have side projects you can look at. But ah when the interview mill is in full steam, its hard to individualize to the candidate. We have a feature factory sir, and what we need are some good cogs. That's how you maximize the value you achieve from a developer after all!

Re:Google rejected me and now I'm building a search engine by ryandrake on Tuesday July 02, 2024 @03:49PM (#40859864)
Yea, the problem with the high-stakes, high-pressure whiteboard-hazing interview is that it is not testing a candidate's problem solving ability. It's testing their comfort level and ability to navigate high-stakes presentation/communication pressure cookers. Which may be great if you're looking for an unflappable smooth talking PM who will be doing presentations to VPs, but probably not great if you are looking for an engineer to solve your software problems while chilling out in their Aeron chair.

That's my big problem (both as an interviewer and as an interviewee) with the current "best practices" in tech interviews. We're evaluating the wrong thing. This is how smooth talking, charismatic phonies breeze through and we find out in 6 months they can't code. Unfortunately by then, they've often gotten themselves promoted to Director.

Re:Google rejected me and now I'm building a search engine by fragmede on Tuesday July 02, 2024 @07:56PM (#40861593)
thus, take-home interview questions, but unfortunately those can be gamed too
Re:Google rejected me and now I'm building a search engine by racional on Thursday July 04, 2024 @08:47PM (#40879132)
I'd recommend programmers with anxiety to avoid whiteboarding interviews [1] or at the very least let it be known ahead of time that you get stage fright.

Unfortunately acknowledging that you are in any substantive way human is a huge turnoff to these companies.

And approaching them with the suggestion that the interview process should have at least some resemblance to a 2-way street will be seen as a huge red flag, and a sure giveaway as to what an incorrigibly self-entitled primadonna you must be for even brokering that suggestion, as well.

Re:Google rejected me and now I'm building a search engine by nitwit005 on Tuesday July 02, 2024 @01:04PM (#40858513)
Very few of us have had to do difficult math in a high pressure social situation. Having someone sitting there and pushing for instant answers is just going to sink most candidates for no real reason.

I've found you often need to directly ask the interviewer not to do what they're doing when they try this sort of thing. Sometimes they're just bored and want to talk because there has been a moment of silence, or because they're enamored with their interview question.

Re:Google rejected me and now I'm building a search engine by arandomusername on Tuesday July 02, 2024 @01:08PM (#40858549)
Difficult math? You just have to multiply 2s until you reach >56mil, and you can just round up (i.e 16k -> 32k -> 64k).
Re:Google rejected me and now I'm building a search engine by nitwit005 on Tuesday July 02, 2024 @01:14PM (#40858609)
Difficult enough to need some time to think, yes.

If it was trivial, there'd be no point in asking.

Re:Google rejected me and now I'm building a search engine by arandomusername on Tuesday July 02, 2024 @01:20PM (#40858668)
Few minutes maybe.

It's a beginning question to get you warmed up.

Re:Google rejected me and now I'm building a search engine by Borg3 on Tuesday July 02, 2024 @12:56PM (#40858417)
If you do NOT know, then answer that you do NOT know, unless you can speculate. Noone is omniscent. I really dont like when people with no knowledge trying guess the answer or speculate without any background. Im sure I would NOT want to work with such person.
Re:Google rejected me and now I'm building a search engine by goostavos on Tuesday July 02, 2024 @01:03PM (#40858507)
I love these threads. They always show what an absolute dice roll the interview process is. OP rates people taking a best guess at a problem they don't know as a positive character trait, this one rates it as a character flaw.

Google didn't reject the candidate, the interview loop he got rejected him for any of the myriad of knee-jerk split-second decisions made on the candidate's character in an unnatural and stressful environment.

I've been in hundreds of interview loops at $Megacorp. You can stack the deck with preparation, but sometimes you just hit a loop that doesn't click with you.

Re:Google rejected me and now I'm building a search engine by bowsamic on Tuesday July 02, 2024 @01:07PM (#40858538)
Well the goal is to create companies or teams with a consistent sense of what is positive vs a flaw
Re:Google rejected me and now I'm building a search engine by goostavos on Wednesday July 03, 2024 @12:44PM (#40867707)
At least in my neck of the woods, the "team" is generally only represented by the hiring manager. The rest of the loop is a mix of people from different teams, orgs, and roles, all pulling in their own direction.
Re:Google rejected me and now I'm building a search engine by jonas21 on Tuesday July 02, 2024 @01:45PM (#40858874)
You're treating this as a binary thing -- either you know something or you don't -- like it's rote memorization of facts.

But that's not how problem solving works. You need work your way from what you do know to get to an answer for what you don't. It's not guessing -- it's taking the background knowledge you do have and applying it to the problem at hand (and every engineer should have some background knowledge, even if it's just basic arithmetic).

That's what these kinds of questions are testing. Someone who immediately gives up is probably not going to be resilient in the face of new challenges.

Re:Google rejected me and now I'm building a search engine by notarget137 on Tuesday July 02, 2024 @02:24PM (#40859187)
Problem solving isn't a binary thing either. You are not just capable of solving problems on the spot or not. Different people have different approaches on the same problem under different conditions. Interview is not one of the things that really shows your problem solving skills rather your skills to solve arbitrary dumb problems right there on the spot.

I've quit several interviews because of these particular questions since they are simply wasting my time and not testing my "skills".

Re:Google rejected me and now I'm building a search engine by arandomusername on Tuesday July 02, 2024 @01:10PM (#40858572)
You should always try to arrive at an answer before giving up. You won't get anywhere if you won't even try.
Re:Google rejected me and now I'm building a search engine by bowsamic on Tuesday July 02, 2024 @01:00PM (#40858468)
> Im sure I would NOT want to work with such person.

Well that's the opposite of what the interviewers are looking for. They DO want to work with such people.

Re:Google rejected me and now I'm building a search engine by zzyzxd on Tuesday July 02, 2024 @07:50PM (#40861552)
It actually depends on what the interviewer wants to see in the candidate. Memorizing a specific implementation? Test their experience and skill for a new design? Or just some sort of personality test and see if they are honest?

As a candidate, if I do not know, I say I do not know. I can offer my thoughts on "but if I were to design this from scratch" based on my experience, but only if the interviewer is interested in that.

As an interviewer, I hate when candidates pretend (or believe) that they know something when they actually don't, and just confidently make stuff up like ChatGPT.

Re:Google rejected me and now I'm building a search engine by pelorat on Tuesday July 02, 2024 @12:56PM (#40858427)
I don't know is the correct answer. I would have brought out "get me your boss" them followed by "your recruiter is an (r-word)"
Re:Google rejected me and now I'm building a search engine by harles on Tuesday July 02, 2024 @12:57PM (#40858439)
> Sounds like the interviewer definitely came on strong …

Possibly, but I’m sure these aren’t exact quotes after 15 years and I expect they reflect how the author remembers feeling a lot more than the actual conversation.

Re:Google rejected me and now I'm building a search engine by robofanatic on Tuesday July 02, 2024 @01:00PM (#40858470)
Its subjective. I think "I don't know" is a honest and better answer than to pretend that you know and waste interviewer's time.
Re:Google rejected me and now I'm building a search engine by EGG_CREAM on Tuesday July 02, 2024 @12:49PM (#40858351)
That’s pretty dumb. I want to work with people who say “I don’t know.”

Edit: to clarify, your advice is good, what you said isn’t dumb. That criteria is dumb, in my opinion. I don’t want my colleagues to spend a bunch of my time guessing on an answer I could easily lookup or find on a calculator.

Re:Google rejected me and now I'm building a search engine by kevmo314 on Tuesday July 02, 2024 @12:53PM (#40858386)
I agree, but as a candidate you don't have much control over the interviewer you get.
Re:Google rejected me and now I'm building a search engine by EGG_CREAM on Tuesday July 02, 2024 @12:56PM (#40858421)
Sorry, edited my comment to clarify. Your advice is good, I just don’t like that that’s how so many interviews work.
Re:Google rejected me and now I'm building a search engine by IncreasePosts on Tuesday July 02, 2024 @12:57PM (#40858432)
In the context of the interview, the "I don't know" is said in a situation where there is no coworker or resource to fall back on. These kinds of questions happen all the time, and the business will generally not accept "I didn't know the answer so I abandoned the whole project - sorry". If you don't know the answer, you work to find it, or you try to work around it.
Re:Google rejected me and now I'm building a search engine by keiferski on Tuesday July 02, 2024 @12:54PM (#40858390)
No, you want to work with people that say, "I don't know, but I think X is true, and here's how I'd find out if that's a correct assumption..."
Re:Google rejected me and now I'm building a search engine by EGG_CREAM on Tuesday July 02, 2024 @12:55PM (#40858410)
I really don’t, not when the question is something as simple as something I can type into a calculator.
Re:Google rejected me and now I'm building a search engine by keiferski on Tuesday July 02, 2024 @12:58PM (#40858452)
The purpose of that kind of question is not to get a piece of information, it's to evaluate how you go about solving problems that you don't know the answer to and/or don't have immediately obvious ways (like using a calculator) to find the solution.
Re:Google rejected me and now I'm building a search engine by EGG_CREAM on Tuesday July 02, 2024 @01:17PM (#40858644)
Your comment has me wondering what it is specifically I find so irksome about the interview question in the blog post. In one of my first interviews they gave me a fairly well know riddle and asked me to work out the answer on a white board in front of them. I had no problem with that, actually I found it pretty fun. There’s something about this question, I haven’t figured it out quite yet, that bothers me more than other analysis questions. Maybe it’s just the flavor the writer added to it, I’ll have to figure that out.
Re:Google rejected me and now I'm building a search engine by withinboredom on Tuesday July 02, 2024 @01:04PM (#40858512)
Yeah, you type it into a calculator. In what universe would I need to know this answer and NOT type it into a calculator? It isn't because I can't work it out, it's because I am a dumb human who makes mistakes and if I am trying to work out that exact number, it is because it matters. And if it matters, I don't want to fuck it up.
Re:Google rejected me and now I'm building a search engine by keiferski on Tuesday July 02, 2024 @01:06PM (#40858533)
Well I’m not that interviewer, but I’m pretty sure that getting the exact answer is not really the point of the exercise. Understanding how the candidate thinks, does mental calculations, etc. is the point, and anyone that is hostile to this basic exercise is probably too unpleasant to be a desirable coworker anyway.
Re:Google rejected me and now I'm building a search engine by withinboredom on Tuesday July 02, 2024 @01:14PM (#40858612)
I don't know if you read that reply as hostile or just saying "hostile in general" but I can promise there was a smile on my face and it wasn't "hostile" at all. The mental calculations is a pointless exercise. Math is so incredibly different than big-system software, and it is more about working memory than anything else, and solving arbitrary math problems won't get you that feedback.
Re:Google rejected me and now I'm building a search engine by keiferski on Tuesday July 02, 2024 @01:19PM (#40858663)
I didn’t mean literally hostile. More like, “if this candidate would rather get into an argument or simply not complete the challenge we’ve presented them with, then they’re not going to be a good employee.”

Companies want to hire people that do things, not question everything, regardless of whether those things ought to be questioned. You’re being hired to achieve business objectives, full stop.

Re:Google rejected me and now I'm building a search engine by withinboredom on Tuesday July 02, 2024 @03:24PM (#40859681)
It depends. If you are more R&D, then questioning everything is exactly what you want. If you want random code in production that "works" then yeah, you probably want a doer.
Re:Google rejected me and now I'm building a search engine by em-bee on Tuesday July 02, 2024 @02:23PM (#40859176)
the problem is that the interviewer did not state that this is the point of this exercise. especially in an interview i would want to know why a particular question is asked, because that helps me decide how to answer. that or at least give clear instructions: "i want to see how you figure out the answer without a calculator"
Re:Google rejected me and now I'm building a search engine by trod123 on Tuesday July 02, 2024 @04:42PM (#40860229)
> Companies want to hire people that do things, not question everything ...

In fairness, following your stated requirements; no one would ever be hired.

There's a direct contradiction such that it can never be true.

Hint: Descartes Rule of Method

Re:Google rejected me and now I'm building a search engine by refulgentis on Tuesday July 02, 2024 @12:56PM (#40858418)
up front: this situation is really messed up, this is a close to the opposite of how I got taught to do interviews at google (albeit, nearly a decade later)

conversely, it's reductive to compare it to a generic ban on saying "I don't know"

my first job was a startup I built, starting from being a waiter. There's a lot of people who don't even try, sort of reject the premise of engaging with the question.

Saying "I don't know", then looking at the interviewer, is about the least valuable interaction you can have with an interviewer, and there's a shocking # of people who do that: whether it be freezing up, some sort of implicit commentary on the question, or a form of performance art, whatever the implicit intent is, in 99% of cases, it doesn't serve you at all.

If I ask you how to fluffle nuffle the snorbknobs, you can at least come back with "I don't know, I may have misheard you: I've never heard of fluffle nuffle. Can you give me a hint?". If you're at the end of your rope with tech interviews: "Excuse me, those aren't sensical words, I'm worried you're having a stroke"

"I don't know" and silence is NPC stuff.

Re:Google rejected me and now I'm building a search engine by EGG_CREAM on Tuesday July 02, 2024 @01:07PM (#40858541)
Fair enough, I have also worked with people like that. On the other end, asking asinine questions with limitations id never have in real life is also NPC stuff. I would say if an interviewer is getting dead eyed “I don’t know” answers a lot, it says something about the questions they are asking as much as the quality of interviewees they are getting.
Re:Google rejected me and now I'm building a search engine by snozolli on Tuesday July 02, 2024 @01:14PM (#40858611)
in case there are any prospective interview candidates out there, completely freezing during an interview is a super negative signal.

Remember to take you Vyvanse so that you can stay focused, and make sure to throw in some beta blockers so that you stay calm during this toxic hellscape of modern interviewing.

Re:Google rejected me and now I'm building a search engine by nine_zeros on Tuesday July 02, 2024 @12:57PM (#40858429)
> completely freezing during an interview is a super negative signal.

I am sure you also go to your employers and tell them that asking super unnatural questions in a super unnatural pressure environment is also a super negative signal.

You do this right? Right?

Re:Google rejected me and now I'm building a search engine by fragmede on Tuesday July 02, 2024 @08:45PM (#40861806)
you don't?
Re:Google rejected me and now I'm building a search engine by ninininino on Tuesday July 02, 2024 @12:51PM (#40858363)
I think it's a negative signal to not have the imagination to realize that anyone who has frozen during an interview due to performance anxiety is well-aware that their freezing was likely a job-candidacy-ending mistake. This is not particularly shocking information and it makes one wonder if you think they're just doing it on purpose or something or that they have control over it.
Re:Google rejected me and now I'm building a search engine by swatcoder on Tuesday July 02, 2024 @12:58PM (#40858450)
Indeed. Those interviews measure whether you can dutifully perform the dance the organization wants you to.

But if that doesn't come naturally to them, "prospective interview candidates" might also consider if that's really a problem. There remain plenty of fantastic engineering opportunities that don't involve memorizing dance steps.

Re:Google rejected me and now I'm building a search engine by kevmo314 on Tuesday July 02, 2024 @01:02PM (#40858494)
Very true. Unfortunately a lot of the junior engineers I've spoken with would be happy to have any job and can't afford to be picky anymore. Such is the state of the hiring market :(
Re:Google rejected me and now I'm building a search engine by JojoFatsani on Tuesday July 02, 2024 @08:42PM (#40861787)
I’d rather someone tell me they don’t know something than feed me a line of BS then show up to the job and not be able to do it. Not that leetcode is necessarily a true indicator of competency.