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.

Answers were Sorted based on User's Feedback



There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,ano..

Answer / nagendra

i m agree with ans 3.
ans 3 is perfect..because all labels r incorrect initially.

Is This Answer Correct ?    1 Yes 2 No

There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,ano..

Answer / ushnish ranjan chatterjee

one basket of apple,least possible way of interchange-1!
one basket of orange ,least possible way of interchange-1!
another has combination of apple nd orange,te least
possible way of interchange-3C2
the least possible way of interchange-1C1+1C1+3C2=5

Is This Answer Correct ?    1 Yes 2 No

There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,ano..

Answer / mugeshprabhu p

First put the fruits to a suitable correct labled
baskets . This is the easy way to Interchange the lables.

Is This Answer Correct ?    8 Yes 10 No

There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,ano..

Answer / guest

Apples to apples
Oranges to oranges
combination to Apples and oranges

Is This Answer Correct ?    1 Yes 3 No

There are 3 baskets of fruits with worng lables,one basket has apple,another basket has orange,ano..

Answer / suganya


First we have 2 put all the apples and oranges in the
same basket.. Later v hav 2 arrange the fruits acc to the
lables in the basket..

Is This Answer Correct ?    2 Yes 11 No

Post New Answer

More C Interview Questions

what is the similarities between. system call and library function?

1 Answers   Wipro,


What is 2 d array in c?

0 Answers  


What is a pointer value and address in c?

0 Answers  


Write a program in c to replace any vowel in a string with z?

0 Answers   IBS,


How macro execution is faster than function ?

0 Answers   Wipro,






can v write main() { main(); } Is it true?

6 Answers  


c language interview questions & answer

0 Answers  


IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.

5 Answers   TCS,


who is the founder of c

19 Answers   College School Exams Tests, HP,


write a C program, given number is double without using addt ion and multiplication operator?ex:n=6,ans=12,pls send me ans to goviseenu@gmail.com

6 Answers  


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

0 Answers  


What is the difference between i++ and i+1 ?(in terms of memory)

3 Answers   HCL,


Categories