Quality is delighting customers
Question1: You have 9 balls and 8 balls have the same weight while one ball have the different weight but we do not know that odd ball is heavy in weight or less in weight. You need to find the odd ball amongst these 9 ball with the minimum go .what be the least steps we your perform to get the odd ball.
Tags:
Permalink Reply by Umesh Kumar Somani on January 5, 2012 at 6:07pm Divide the 9 Balls in three groups each with three balls. Lets name the group as A B and C
Step1: Now Weight Group A and B
If Both are Equal then C will be the Group with the Ball of Different Weight
If Both are not Equal the Group with the More Weight will have the Ball with the Most Weight
Step2: Take any two balls from Most Weight Group
If both the balls are equal then the third ball is the Odd one
If both are not equal the one with more weight is the odd one
Hope I am clear in making you all understanding it !!!
Permalink Reply by Heera Singh on January 5, 2012 at 8:30pm yes almost , but its not told that the odd ball will have more weight.
Permalink Reply by Umesh Kumar Somani on January 6, 2012 at 12:53pm But the Logic Applies the Same .. Whether its more weight or less weight !!!
Permalink Reply by Heera Singh on January 7, 2012 at 9:10am Yes u r right
© 2012 Created by Quality Testing.