TCS
Company
A lady has fine gloves and hats in her closet- 18 blue, 32 red, and 25 yellow. The lights are out and it is totally dark. In spite of darkness, she can make out the difference between a hat and a glove. She takes out an item out of the closet only if she is sure that it is a glove. How many gloves must she take out to make sure she has a pair of each color?
Read Solution (Total 5)
-
- to gave 0airs of glove for each pair, we first need to take out 32 gloves which in the worst case can be red. if all of these are red, then we need to confirm that that we have 24 yellow gloves .if all of these 24 gloves are yellow, then we need to take out 4 more things from the closet as 1 yellow hat is available.
so total things need to be taken out are=32+24+4=60 - 13 years agoHelpfull: Yes(28) No(8)
- 32r+24y+1y+1b+2b=60
- 13 years agoHelpfull: Yes(12) No(1)
- 32+25+2=59
- 13 years agoHelpfull: Yes(7) No(10)
- ans is 58
highest+middle+1 - 13 years agoHelpfull: Yes(3) No(15)
- in first lady takes 32 gloves r red in color
she go for next pickup that may be yellow or blue
we assume is it yellow
after then she pickups 24 yellow gloves
only one yellow be there probability for getting blue also
so 1+1 yellow +blue
so now there is no yellow and red gloves
so she pickup 2 gloves which must be in blue
32+24+2+2=60
ans :60........... - 10 years agoHelpfull: Yes(2) No(0)
TCS Other Question