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 / subir
(Step-1)Divide the balls into 2 groups of 3 each, and weigh
them. If they weigh same, then the 7th ball outside is the
heaviest.
(Step-2) If not then,
one of the 3 balls group being weighed is heavier. Take
them down and consider the heavier group, with one ball on
each side of the balance.
(Step-3)if they measure unequal, then the heavier one is
detected, and if they measure equal then the one outside is
heavier.
Is This Answer Correct ? | 65 Yes | 5 No |
Post New Answer View All Answers
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is the advantage of oop over procedural language?
what is difference between class template and template class?
What is solid in oops?
What are the advantages of polymorphism?
What is class and example?
What is class and object with example?
What is a class in oop?
What is encapsulation selenium?
What do you mean by abstraction?
Why do we use inheritance?
Can you inherit a private class?
Why is encapsulation used?
What is a function in oop?
What are the three main types of variables?