in Combinatory
727 views
1 vote
1 vote
You have a box containing 10 black and 10 blue socks.What is the minimum number of times you need to pull out so that you have a pair of the same color?
in Combinatory
by
727 views

1 Answer

5 votes
5 votes
we have to see the worst case what can happen
In first draw suppose we pulled black sock and in second draw we pulled blue sock , so we have to do one more draw as in third draw we can pull either black or blue and whatever we will draw a matching pair is guaranteed
so 3 pull required at minimum

1 comment

Got it thanks
0
0

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true