Placement AptitudeHardTCS NQT · Infosys

Six interns, including Tom, Riya and Sam, are to sit in a row of 6 desks. Tom insists on an end desk, and Riya and Sam refuse to sit at adjacent desks. In how many ways can the six be seated?

  1. A. 144
  2. B. 240
  3. C. 192
  4. D. 72

Correct answer: A. 144

Tom has 2 end desks; the other 5 occupy a block of 5 consecutive desks, where Riya and Sam are adjacent in 2 × 4! = 48 of the 5! = 120 orders, leaving 72. Total = 2 × 72 = 144. 192 subtracts only one order of the adjacent pair; 72 forgets Tom's two choices.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic