If you want to guarantee a matching pair of socks from a drawer with only two colors, how many socks must you pull out?

Prepare for the FAST Enterprises IC Interview. Enhance your skills with flashcards and multiple-choice questions. Each question provides hints and detailed explanations. Excel in your interview!

Multiple Choice

If you want to guarantee a matching pair of socks from a drawer with only two colors, how many socks must you pull out?

Explanation:
With two colors, there are only two color categories. If you pull three socks, the worst case is you get one of each color first, and the third sock will necessarily match one of them, giving you a pair. So three is the minimum needed to guarantee a matching pair. If you only pull two, you could have one of each color and no pair yet.

With two colors, there are only two color categories. If you pull three socks, the worst case is you get one of each color first, and the third sock will necessarily match one of them, giving you a pair. So three is the minimum needed to guarantee a matching pair. If you only pull two, you could have one of each color and no pair yet.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy