Placement AptitudeModerateInfosys · Capgemini pattern

In how many ways can 3 red, 3 blue and 1 green flag be arranged in a row so that no two red flags are next to each other? (Flags of the same colour are identical.)

  1. A. 140
  2. B. 40
  3. C. 10
  4. D. 24

Correct answer: B. 40

Arrange the 4 non-red flags first: 4!/3! = 4 ways (B, B, B, G). They create 5 gaps, and the 3 red flags go into 3 different gaps: C(5, 3) = 10. Total 4 × 10 = 40. 140 = 7!/(3! 3!) is the count with no restriction.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic