Interview Question

Global Portfolio Planning Interview

-Bloomington, IL

General Motors (GM)

Brain Teaser: you have 7 seemingly identical looking balls, only 1 is slightly lighter than the other 6. You are given a scale. How can you find the 1 lighter ball is you are only allowed to use the scale twice.

AnswerAdd Tags

Interview Answers

4 Answers

2

pick 3 random balls on one side of the scale, pick 3 more to put on the other end. if scale equals, the 1 unpicked ball is the lighter one. if one side is lighter than the other one, the lighter ball is among them. take 1 random ball out of 3 to put on one side the scale, put another on the other side...you get it by now.

Anonymous on

0

can we not pick 2 on each side?

Srinivas Krothapalli on

0

Add one ball to the scale at a time continuously . The lighter ball will show a slight difference at the scale when you adding up the weight. Like if the first ball is 12g, then adding the next one will be 24, 36, etc and the one that was slightly off will be the lighter one. I think this count as using the scale once because I use it continuously

Vincent on

0

You can start with 2 or 3 on each side and still only measure twice...doesn't matter. Second step would be to measure 2 of the 3 balls from the lighter side. Regardless, it's a dumb question to ask someone on an interview.

My Opinion on

Add Answers or Comments

To comment on this, Sign In or Sign Up.