We have a scale and 7 balls. 1 ball is heavier than all the
rest. How to determine the heaviest ball with only 3
possible weighing attempts?
Answer Posted / adub
12 vs 34
12 vs 56
1 vs 5
1) Establish a control group by weighing 12 vs 34. If they
are equal then 1234 are all control. If they are not equal
than 567 are all control.
2) Weigh two of the non-control group against two of the
control group. If they are equal than the other non-control
balls contain the outlier. If they are not equal than you
have determined heavier/lighter and narrowed it down to 2 balls.
3) Weight one of two balls against the control to find
which one is the outlier. example 1 vs 5. If equal then
you know it's the other ball.
note: There is one case where you would have to check
results from the first weighing to find out heavier/lighter.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is class and example?
What is the types of inheritance?
What does oop mean in snapchat?
What are the 3 pillars of oop?
How do you explain polymorphism?
What are the data types in oop?
What is pure oop?
Who invented oop?
What is this pointer in oop?
What is oops and its features?
What is polymorphism programming?
How do you define social class?
What are two types of polymorphism?
What is an interface in oop?
What are the 5 oop principles?