Skip to Content
Search for specific content:
Browse content by category:

Google Brain-teaser

Tim Challies posted a link this morning to “15 Google Interview Questions That Will Make You Feel Stupid.” It turns out that Google is hiring again, and they like to ask hard questions in their interviews. In fact, you might say that their interview questions are like taking the GRE. Here’s one of the brain-teasers they use when interviewing product managers. See if you can figure it out before looking at my answer in the comment section. Let me know if you got it right.

You have eight balls all of the same size. Seven of them weigh the same, and one of them weighs slightly more. How can you find the ball that is heavier by using a balance and only two weighings?

← Democratic Virtues of the Christian Right — Piper in Prison →

Discussion

1. Nov 20, 2009—11:43 am | Permalink Denny Burk says

1st Weighing
Take 6 of the balls and weigh them 3 on one side and 3 on the other.

2nd Weighing
If both sides of three are equal, then weigh the remaining two balls to see which one is heavier.

If one set of three is heavier than the other set of three, then select two balls from the heavier set to weigh.

If one of the two is heavier than the other, then you’ve found your ball.

If the two balls are equal, then you know that the third unweighed ball is the heaviest.

2. Nov 20, 2009—12:45 pm | Permalink Joshua says

This is a classic Computer Science question. I came across it three times at my last job (Meditech, not Google). So, yes, now I finally get this question right :)

3. Nov 20, 2009—1:46 pm | Permalink Doug says

Very good grasshopper. My brain got tired trying to figure it out.

4. Nov 21, 2009—1:49 am | Permalink Mark says

Yeah. My mind isn’t supposed to work with these types of questions.

5. Nov 21, 2009—2:47 pm | Permalink Alex Chediak says

My brother-in-law works for Google. He can attest to the challenge of their interviews!

6. Nov 21, 2009—7:34 pm | Permalink jeff miller says

I got it. Stone is my witness :)

7. Nov 22, 2009—4:18 pm | Permalink Don Johnson says

You can even do it with 9 balls.

8. Nov 22, 2009—11:09 pm | Permalink Peter Sewell says

“their interview questions are like taking the GRE.” ha ha ha ha ha

Join the Discussion




*Required


You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>