253. There are 2 blue socks, 4 white socks, 6 black socks, and 8 red socks in sock drawer. What is the least number of socks that you have to pull out to make sure that you will have a matching pair? (Assume that all the socks are identical except for the color)
2 Blue socks, 4 white socks, 6 black socks and 8 red socks.
Question is asking what is the worst case scenario to get matching socks?
Since there are 4 colors, if you draw 4 socks, worst case scenario is you could still have 1 sock per color and not have a match.
Therefore, upon drawing the 5th sock, you will definitely have a match since the 5th sock will form a least a pair with the 1st 4
So 4+1 = 5