Qualcomm

  www.qualcomm.com
  www.qualcomm.com

Interview Question

QCT Modem Test Engineer Interview San Diego, CA

You have 8 balls. 7 are 150 grams and 1 is 152 grams. With

  minimum (2) iterations find out the heaviest ball with the weighing machine.
Answer

Interview Answer

2 Answers

3

divide it into 3-3-2
then weigh the 3-3
if they are balance then weigh the rest 2 balls else weight 1-2 out of the 3 balls which were heavy in iteration 1.

Interview Candidate on Apr 13, 2012
1

the above soln is correct...explanation for the last step ->
divide it into 3-3-2
then weigh the 3-3
if they are balance then weigh the rest 2 balls else take heavier 3 balls in iteration 1 -> split into 1-1 and 1
now weight 1-1....if its equal, then the third ball kept aside is 152gms...else the heavier one from the iteration 2

Anonymous on Jul 20, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.