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 / srini
let a,b,c,d,e,f,g be the 7 balls,
group them
a and b group 1
b and c group 2 and others one group
weigh group 1 against group 2
if they are not equal weigh the individual balls with
respect to each other
if they are not equal(group 1 is not equal to group 2)
weigh e against f, if they are not equal heaviest among
them is ur answer else g is the answer.
| Is This Answer Correct ? | 6 Yes | 22 No |
Post New Answer View All Answers
Can we override main method?
what are the different types of qualifier in java?
What are the 3 pillars of oop?
What is object in oops?
Whats oop mean?
class type to basic type conversion
What is overloading in oops?
How long to learn object oriented programming?
What is coupling in oop?
What is interface in oop?
Why is polymorphism important in oop?
Why is polymorphism needed?
What are the 4 pillars of oop?
Write a c++ program to display pass and fail for three student using static member function
Give an example where we have to specifically use C programming language and C++ programming language cannot be used?