TECHNOLOGIESTieInn Technologies

Puzzles

Puzzles: floors and stacked boxes

8 min read · 8 practice questions · free

Useful for:IT testsBanks

What it is

A building has floors numbered from the bottom (floor 1 is the lowest), or boxes are stacked one on another. Each person or box takes one floor or one place in the stack. Clues say who is above or below whom. You place everyone, then answer questions.

How to solve it

  1. Draw a column with the floors or places numbered. For floors, write 1 at the bottom; for a stack, number from the top or the bottom and say which.
  2. Place the fixed ones first: top floor, middle, bottom.
  3. Then the "immediately above or below" clues. They pin a person to one floor once the other is placed.
  4. Then "above or below" (not immediately) and "not on floor X". These usually decide the last two.
  5. Check every clue against the final column.

Tips and shortcuts

  • "Above" is not "immediately above". "R lives below T" allows any floor below T.
  • "Between" counts the floors strictly between, not the two named.
  • Floor 1 is the lowest here. Some puzzles call the ground floor 0; read the first line.
  • With extra details (each person also has a colour or a city), make a small table with one row per floor.

Solved examples

Example 1 (medium): five floors

P, Q, R, S and T live on different floors of a five-floor building (floor 1 is the lowest). Q lives on the top floor. P lives on the middle floor. S lives immediately above P. R lives below T.

Q = 5, P = 3, S = 4. R and T take floors 1 and 2; R is below T, so R = 1 and T = 2.

Bottom to top: R, T, P, S, Q.

Example 2 (easy): reading answers

From Example 1: who lives immediately below S, and how many people live between R and S?

Below S (floor 4) is floor 3: P. Between R (1) and S (4) are floors 2 and 3: 2 people.

Example 3 (medium): a stack of boxes

Five boxes A, B, C, D and E are stacked one above another. B is at the bottom. C is immediately above B. D is at the top. A is somewhere above E.

From the top: D is 1st, B is 5th and C is 4th. A and E take 2nd and 3rd; A is above E, so A is 2nd and E is 3rd.

Top to bottom: D, A, E, C, B.

Example 4 (hard): from the stack

From Example 3: which box is in the middle, and which is second from the bottom?

Middle (3rd from the top) is E. Second from the bottom is C.

Try it

Pick an answer and press Check. Generated questions get new numbers every time you ask.

  1. Question 1easy

    P, Q, R, S and T live on different floors of a five-floor building (floor 1 is the lowest). Q lives on the top floor. P lives on the middle floor. S lives immediately above P. R lives below T. Who lives on floor 2?

  2. Question 2easy

    P, Q, R, S and T live on different floors of a five-floor building (floor 1 is the lowest). Q lives on the top floor. P lives on the middle floor. S lives immediately above P. R lives below T. Who lives immediately below S?

  3. Question 3medium

    P, Q, R, S and T live on different floors of a five-floor building (floor 1 is the lowest). Q lives on the top floor. P lives on the middle floor. S lives immediately above P. R lives below T. How many people live between R and S?

  4. Question 4medium

    P, Q, R, S and T live on different floors of a five-floor building (floor 1 is the lowest). Q lives on the top floor. P lives on the middle floor. S lives immediately above P. R lives below T. Who lives on the floor just below the top floor?

  5. Question 5medium

    Five boxes A, B, C, D and E are stacked one above another. B is at the bottom. C is immediately above B. D is at the top. A is somewhere above E. Which box is in the middle?

  6. Question 6medium

    Five boxes A, B, C, D and E are stacked one above another. B is at the bottom. C is immediately above B. D is at the top. A is somewhere above E. How many boxes are between D and C?

  7. Question 7hard

    Five boxes A, B, C, D and E are stacked one above another. B is at the bottom. C is immediately above B. D is at the top. A is somewhere above E. Which box is immediately below A?

  8. Question 8hard

    Five boxes A, B, C, D and E are stacked one above another. B is at the bottom. C is immediately above B. D is at the top. A is somewhere above E. Which box is second from the bottom?

Ready for a timed set?

Fresh questions on just this problem type, with a score and every explanation at the end. Free.

Test me on this →