Mathematics (JEE)HardTCS NQT · Accenture

How many strings of length 6 over the alphabet {A, B, C} contain each of the three letters at least twice?

  1. A. 729
  2. B. 180
  3. C. 720
  4. D. 90

Correct answer: D. 90

The letter counts must be (2,2,2), so the number of strings is 6!/(2! 2! 2!) = 720/8 = 90.

More Permutations, Combinations and Probability questions

Exams that ask this topic