Mathematics (JEE)ModerateCAT · MBA placement

How many strings of length 5 over {A, B, C, D} use all four letters at least once and have no two equal adjacent letters?

  1. A. 144
  2. B. 324
  3. C. 240
  4. D. 960

Correct answer: A. 144

Enumerating all 4^5 = 1024 strings and keeping those that use all four letters with no two equal neighbours leaves 144.

More Permutations, Combinations and Probability questions

Exams that ask this topic