Infosys
Company
6 shoes of 3 different brands and 24 socks of two colors black and brown in a box. How many shoes needs to be taken to get a same brand and how many socks needs to be taken for getting a pair of dark color socks?
Read Solution (Total 1)
-
- you need to consider the worst case here. Consider 3 brands as brand1,brand2,brand3. Now I start picking. First pick i got brand1,2nd brand2,3rd brand3. In the next pick i will surely match any one of the brands i already have.(only 3 brands are there in the box) So max picks=4. For the socks, both black and brown are dark colors. So consider worst case again: first pick i get black,2nd brown and in the 3rd pick i match any of them i already got. so max picks=3.
- 14 years agoHelpfull: Yes(7) No(1)
Infosys Other Question