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
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 |
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 |
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 |
Answer / guest
Apples to apples
Oranges to oranges
combination to Apples and oranges
Is This Answer Correct ? | 1 Yes | 3 No |
what is the similarities between. system call and library function?
What is 2 d array in c?
What is a pointer value and address in c?
Write a program in c to replace any vowel in a string with z?
How macro execution is faster than function ?
can v write main() { main(); } Is it true?
c language interview questions & answer
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.
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
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.
What is the difference between i++ and i+1 ?(in terms of memory)