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


Please Help Members By Posting Answers For Below Questions

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.

1528


What is the advantage of oop over procedural language?

617


what is difference between class template and template class?

2147


What is solid in oops?

590


What are the advantages of polymorphism?

564






What is class and example?

557


What is class and object with example?

576


What is a class in oop?

589


What is encapsulation selenium?

547


What do you mean by abstraction?

601


Why do we use inheritance?

622


Can you inherit a private class?

626


Why is encapsulation used?

567


What is a function in oop?

617


What are the three main types of variables?

591