Placement AptitudeHardTCS NQT · Infosys pattern

Five people A, B, C, D and E live on floors 1 (lowest) to 5 (top) of a building, one on each floor. B lives on an odd-numbered floor above D. Exactly one person lives between B and E. C lives on the floor immediately above A. Neither D nor A lives on floor 1. Who lives on the top floor?

  1. A. A
  2. B. C
  3. C. E
  4. D. B

Correct answer: B. C

B is on 3 or 5. If B = 5 then E = 3, and C directly above A would need floors 1–2 (4–5 is blocked), putting A on floor 1 — not allowed. So B = 3. D is below B and not on 1: D = 2. A and C need two consecutive floors with A not on 1: A = 4, C = 5, leaving E on floor 1 (two floors from B, as required).

More Logical Reasoning for Placements questions

Exams that ask this topic