Placement AptitudeVery hardTCS NQT · Cognizant

In a queue, A is 7th from the front and B is 12th from the back. Exactly four people stand between A and B. What is the smallest possible number of people in the queue?

  1. A. 23
  2. B. 13
  3. C. 18
  4. D. 12

Correct answer: B. 13

If B is ahead of A, B is 7 − 5 = 2nd from the front, and 12th from the back, so the queue has 2 + 12 − 1 = 13 people. If B is behind A (12th from front), there are 23. The minimum is 13.

More Logical Reasoning for Placements questions

Exams that ask this topic