There are 5 distinct pairs of white socks and 5 pairs of black socks in a cupboard. In the dark, how many sock22s do I have to pull out to ensure that I have at least 1 correct pair of white socks?

This question is related to TCS Interview

Questions by swatirose88

Showing Answers 1 - 3 of 3 Answers

ratheesh69

  • Jun 8th, 2008
 

5 pairs of white socks=10 individual white socks
5 pairs of black socks=10 individual black socks
total no. of socks=20
if i pull 10 socks, all 10 may be either white or black..so if i pull 2 more den i may get a pair of other color socks...

therefore ans=12

  Was this answer useful?  Yes

The worst possible case arises when 
The first 10 pull results in 10 black socks and the next 5 pull results in 5 white socks which do not have their exact pair.
so after pulling the 16th sock, definitely there would be atleast 1 correct pair of white socks.
hence the ans is 16 socks.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions