Open In App

Puzzle | Pair of Socks

Last Updated : 18 Jan, 2023
Improve
Improve
Like Article
Like
Save
Share
Report

There are 10 black socks and 10 white socks in a drawer. Socks of the same color are identical but not allowed to look into the drawer while taking out socks.

So, the task is to find the minimum number of socks to be drawn at random to be sure that he/she gets the pair of socks of the same color?

Answer: 3

Explanation:

Case 1: Same sock color come out in 1st and 2nd attempt-

1st- Black
2nd- Black

OR

1st- White
2nd- White

Number of removals = 2

Case 2: Different color of socks come out in first and second attempt-

1st- Black
2nd- White
OR
1st- White
2nd- Black

In the third attempt, a black or a white sock come out, either way, a pair is completed.
So, the number of removals = 3


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads