Placement AptitudeHardTCS NQT · Infosys

A drawer holds 10 black and 10 white socks. Socks are taken out in the dark. What is the least number that must be taken out to be sure of getting at least one matching black pair AND at least one matching white pair?

  1. A. 3
  2. B. 4
  3. C. 12
  4. D. 21

Correct answer: C. 12

In the worst case all 10 socks of one colour come out first; then 2 more of the other colour are needed: 10 + 2 = 12. 3 only guarantees some pair; 4 is a common wrong guess.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic