Placement AptitudeHardTCS NQT · Wipro

Five people A, B, C, D, E stand in a queue. A must be somewhere ahead of B, and C must stand immediately behind A. How many queues are possible?

  1. A. 12
  2. B. 24
  3. C. 60
  4. D. 48

Correct answer: A. 12

Glue A and C into the block 'AC' (in that order): 4 units, 4! = 24 orders. In exactly half of them the block is ahead of B: 12. 24 drops the A-before-B condition; 60 drops the C condition; 48 allows the block in either order.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic