Eze Software

  www.ezesoft.com
  www.ezesoft.com

Interview Question

QA Analyst Interview Boston, MA

You have eight golf balls with one slightly heavier than

  the rest and one leveling scale. What is the least number of times you can use the scale to figure out the heavier ball.
Answer

Interview Answer

2 Answers

0

Two times.

Interview Candidate on Jun 28, 2010
0

2 times:

Weigh 3 vs. 3. If they weigh the same, it must be one of the two remaining golf balls, and you weigh once more to find out. If the 3v3 don't weigh the same, take the heavier three, and weigh two of them. If they're the same weight, it's the one ball you didn't weigh. If one is heavier, it's that ball. Voila.

Interview Candidate on Apr 16, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.