Three boxes labeled as red, blue and mixed.These labels are
incorrect.one box contains red balls and another box
contains blue balls and remaining one box contains both red
and blue balls.
Pickup one ball from any box(u should pickup ball only
once) and name the correct labels.
Answers were Sorted based on User's Feedback
Answer / maqsood
Pick a ball from box labelled mixed,
it surely is one among blue or red,[cannot be mixed box]
u get red[say] ,label it red,
next the other two left boxes have blue and mixed balls.
the two left boxes are wrongly labelled as red and blue.
blue box cant have blue balls or red balls so it has mixed
finally the leftover box is having colored balls.
|Is This Answer Correct ?||253 Yes||27 No|
Answer / nandkishor lokhande
pickup one ball from 'mix box'
if ball is red rename it to 'new red box'.
then rename 'red box' to 'new blue box'
and rename 'blue box' to 'new mix box'
as old names are wrong.
else if ball is blue rename it to 'new blue box'.
then rename 'blue box' to 'new red box'
and rename 'red box' to 'new mix box'
as old names are wrong.
and we get correct names
|Is This Answer Correct ?||38 Yes||10 No|
Answer / jl
1. pick one ball from 'mixed' box then label that box to
the picked colour.
2. go the box originally labeled with the picked colour and
change it the opposite of the picked colour.
3. rename remaining box 'mixed'
|Is This Answer Correct ?||21 Yes||11 No|
Answer / akash kedia
What if we dont know whether labels are marked correct or incorrect?
|Is This Answer Correct ?||2 Yes||2 No|
Answer / navaneet sarma
Say If you pickup a red ball from the mixed bag the probability of the the other two bags having either mixed or blue balls is 50/50 as there is not enough empirical evidence to suggest that the bag marked as blue/red cannot have mixed balls hence either of them can be mixed in this scenario ! The term "all the labels are marked incorrectly" doesn't provide enough data and can also mean that either the blue bag or the red bag was originally mixed!
|Is This Answer Correct ?||5 Yes||6 No|
Answer / kirti
|Is This Answer Correct ?||3 Yes||5 No|
Answer / jitendra
There are only 2 ways you can label the bags incorrectly
1) M=rr , R=bb B =rb
2) M=bb, R=rr B =rb
if one picks ball from mixed bag then he can know the balls in all the bags.
|Is This Answer Correct ?||1 Yes||7 No|
Ek nadi ka Name Ek Ladki ka Name Ek PHOOL ka Name 3 sawalon ka jawab ek hi hona chahiye wo bhi Ek film ka Name hai...........
Nine plates of similar in design... same colour, same size but one plate among that has very small difference in weight. you should find it but the condition is u can use weighing pan only two times. at the second time u should be able to find the defeated plate..............
Eleven boys and girls wait to take their seats in the same row in a movie theater. There are exactly 11 seats in the row. They decided that after the first person sits down, the next person has to sit next to the first. The third sits next to one of the first two and so on until all eleven are seated. In other words, no person can take a seat that separates him/her from at least one other person. How many different ways can this be accomplished? Note that the first person can choose any of the 11 seats.
Given a sequence of integers, there are a few sequences which result in balanced binary search trees i.e., AVL trees. Write a program that takes a sequence of integers as input and outputs the number of such sequences that result in the balanced binary search trees. Input Format: Single line contains sequence of integers terminated by -1. Output format: Print the number of AVL tree possible from that input sequence. Sample Input: 1 2 3 -1 Sample Output: 2
rich man keeps me in pocket, poor men throws me away, children eat me, am a tamil word _u_ _e_ _l
there are 2 hour glass. one is 13min hour glass. another is 8min hour glass. u need to stop a button exactl aftr 18min..how do u calculate when 18min is passed?
It comes once in a year and twice in a week what is that?
how to draw a rectangle using 3 lines?
1. There are six columns of coins and there are eight coins in each column. One of the columns is entirely of fake coins and other five columns contain real coins. Weight of one fake coin is 1 gm more than the real coin which is 50 gm. How you can tell which column contains fake coin by single weight? 2.You want to purchase a two wheeler. You got three options from the counter. 1) Pay Rs. 40,400 on single payment 2) Pay Rs. 20,000 now and remaining by two equal annual installment of Rs. 11,600 3) Pay Rs. 15,000 now and remaining by three equal annual installment of Rs. 10,000 Which option is most attractive? (Take annual interest rate 9%)
Four persons A, B, C and D are playing cards.Each person has one card, laid down on the table below him, which has two different colours on either side. The colours visible on the table are Red, Green, Red and Blue. They see the color on the reverse side and give the following
There are numbers from 1 to n, which are inverted such that it results in numbers from n to 1. If only two consecutive numbers are stampled at a time and are inverted, how many moves are required?
A frog starts climbing 15 feet wall. Each hour he climbs 3 feet and rests for 30 minutes. During rest, he slips back 2 feet. How many hours does the frog take to reach the top?