AI InterviewSearch…Search problems, topics, or pages…Ctrl KGet started
Hardordering

~105s

Five floors

Five people live on five floors. A lives above B, C lives below B, D lives above A, and E lives between A and D. Who lives on the second floor from the bottom?

Show the answer and the worked solution

Correct answer: B.

B

Worked solution

  1. C is below B, and B is below A, giving C, B, A upwards.
  2. D is above A, and E lies between A and D, so the order continues A, E, D.
  3. The full order upwards is C, B, A, E, D.
  4. The second from the bottom is B.

Answer: B.

The idea

Build the vertical chain from the bottom up, inserting each person as their clue allows. Count from the end the question names.

Shortcut. Only C is below B — A is above B, and D and E are above A — so B has exactly one floor under it: second from the bottom.

Common trap. "E" — counting from the top: in the order C, B, A, E, D upwards, E is second from the top, not the bottom.

Seating & Puzzles

28 of 28

Level

Hard

Target time

~105s

Five floors — Seating & Puzzles Aptitude Question

Five floors: Five people live on five floors. A lives above B, C lives below B, D lives above A, and E lives… Answer and worked solution on CodeKairo.

Question

Five people live on five floors. A lives above B, C lives below B, D lives above A, and E lives between A and D. Who lives on the second floor from the bottom?

Options

  1. A
  2. B
  3. C
  4. E
Show the answer and the worked solution

Correct answer: B. B

Worked solution

  1. C is below B, and B is below A, giving C, B, A upwards.
  2. D is above A, and E lies between A and D, so the order continues A, E, D.
  3. The full order upwards is C, B, A, E, D.
  4. The second from the bottom is B.

Answer: B.

The idea

Build the vertical chain from the bottom up, inserting each person as their clue allows. Count from the end the question names.

Shortcut. Only C is below B — A is above B, and D and E are above A — so B has exactly one floor under it: second from the bottom.

Common trap. "E" — counting from the top: in the order C, B, A, E, D upwards, E is second from the top, not the bottom.

All Seating & Puzzles questions · placement mock tests