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 / kiran
I think its impossible to answer this with CERTAINTY...we
could get a right answer but we cannot GUARANTEE a correct
answer ALWAYS...
Best i can get to is guarantee an answer in 4 comparision...
| Is This Answer Correct ? | 1 Yes | 5 No |
Post New Answer View All Answers
Why do we use inheritance?
What is a superclass in oop?
What do you mean by Encapsulation?
design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)
What is abstraction encapsulation?
Why do we need oop?
What is destructor in oop?
What is use of overloading?
What is the highest level of cohesion?
Why do we use oop?
Can an interface inherit a class?
What is encapsulation and abstraction? How are they implemented in C++?
Who invented oop?
Templates mean
What are constructors in oop?