Earlier quoted context omitted.
This isn't a brainteaser. It's a programming problem. Brainteasers are like "how many ping pong balls fit in a 747" or "you wake up an inch tall in a blender, the blades start spinning in a minute. How do you survive."
> how many ping pong balls fit in a 747 This one does seem useful. Being able to do back-of-the-napkin (i.e. fermi problem) calculations is a pretty good skill.
Google Interview Questions Deconstructed: The Knight’s Dialer
21–30 of 134 posts
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#22Counting the number of paths when you have loops is easiest using a connection matrix and matrix exponentiation. Then you get log(n) time.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#23Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#24Typical brain-teaser interview question that will have absolutely no correlation to on-the-job performance but makes the interviewer feel really smart. I thought Google had gotten away from these.
This isn't a brain teaser, they actually correlate with on-the-job performance. When I worked at Google I looked up their internal reports on the subject and they showed that the score people got on these algorithm interviews correlated pretty well with their performance ratings after they got hired. In other words the group of people who got hired even though they had low scores performed significantly worse than th…
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#25Earlier quoted context omitted.
This isn't a brainteaser. It's a programming problem. Brainteasers are like "how many ping pong balls fit in a 747" or "you wake up an inch tall in a blender, the blades start spinning in a minute. How do you survive."
> how many ping pong balls fit in a 747 This one does seem useful. Being able to do back-of-the-napkin (i.e. fermi problem) calculations is a pretty good skill.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#26Earlier quoted context omitted.
This isn't a brain teaser, they actually correlate with on-the-job performance. When I worked at Google I looked up their internal reports on the subject and they showed that the score people got on these algorithm interviews correlated pretty well with their performance ratings after they got hired. In other words the group of people who got hired even though they had low scores performed significantly worse than th…
Personally, I don't think correlation is good enough. I never doubted that people who are good with a single given abstract problem are correlated with people who are good candidates. So yes, it non-arbitrarily identifies good candidates, but it also arbitrarily eliminates a significant chunk of good candidates.
I think they know that and they're okay with it because they have the volume and cash. I think they routinely tell you to try again.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#27Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#28Typical brain-teaser interview question that will have absolutely no correlation to on-the-job performance but makes the interviewer feel really smart. I thought Google had gotten away from these.
This isn't a brainteaser. It's a programming problem. Brainteasers are like "how many ping pong balls fit in a 747" or "you wake up an inch tall in a blender, the blades start spinning in a minute. How do you survive."
The problem itself appears to be nonsensical with no real world value but as long as it is a well defined problem with a concrete solution then it should be fine. Ideally the interviewer should be looking for how you approach the problem and what you do to obtain an answer (whether they do or not is a separate topic)
Granted, the 747 question also technically does have a concrete solution I guess, but I would end up asking things like what's the volume of a 747 and the dimensions of a ping pong ball and then point out there will be gaps as we fill the 747 with balls so it's not simply dividing the volumes, write a program based on these observations, give a disclaimer that it will most likely be inaccurate, and hope that is good enough to pass.
But that blender question... uh yeah... I'd probably spend too much time asking clarifying questions to actually come up with something plausible.
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#29This is the same reason why they had to stop writing SAT questions that started out "Tad and Buffy are at duece in the fifth set of their tennis match ...".
Re: Google Interview Questions Deconstructed: The Knight’s Dialer
#30My guess is that many hiring practices will change(and are changing) over time based on the internal work that people are doing to drive better initiatives, and less based on comments on HN.
Personally, I would like to see what people thing about the actual solution to this particular problem...