Placement AptitudeHardTCS NQT · Infosys

Nine signal flags (4 identical red, 3 identical green and 2 identical blue) are hoisted one above another on a pole. In how many of the possible signals are the top and bottom flags of the same colour?

  1. A. 910
  2. B. 350
  3. C. 315
  4. D. 245

Correct answer: B. 350

Both red: the middle 7 hold 2R, 3G, 2B: 7!/(2!3!2!) = 210. Both green: 4R, 1G, 2B: 105. Both blue: 4R, 3G: 35. Total 350. 315 forgets the blue case; 910 is the number of signals whose ends differ (1260 − 350).

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic