There are 3 baskets of fruits with worng lables,one basket
has apple,another basket has orange,another has combination
of apple and orange,what is the least way of interchange
the lables.
Answer Posted / soumava bose
suppose B1,B2,& B3 care the baskets.Now we will first open
B1.suppose it contains Oranges.Then its level would be
either Appale or Combination.Now suppose The lebel is
combination.Now the basket with lebel orange is
interchanged with it.As initially all baskets had wrong
lebels.so the basket with lebel appale must have either
orange or combination.so now we interchange the two lebels
of the remaining baskets & get the proper answer.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How many loops are there in c?
Where in memory are my variables stored?
How do you convert strings to numbers in C?
What does stand for?
What is a stream in c programming?
How can you draw circles in C?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is methods in c?
What is self-referential structure in c programming?
What is d'n in c?
Explain how are 16- and 32-bit numbers stored?
How can a program be made to print the name of a source file where an error occurs?
Explain what is the benefit of using #define to declare a constant?
Explain the bubble sort algorithm.
What is the Purpose of 'extern' keyword in a function declaration?