Mathematics (JEE)Very hardGATE CS

How many arrangements of the letters A, A, B, B, C, C, D, D in a row have no two identical letters next to each other?

  1. A. 1296
  2. B. 864
  3. C. 2520
  4. D. 1152

Correct answer: B. 864

There are 8!/(2!)⁴ = 2520 arrangements in all; enumerating those with no two equal letters adjacent gives 864. Option 2520 ignores the adjacency restriction altogether.

More Permutations, Combinations and Probability questions

Exams that ask this topic