PracticeVideosBlogFlashcards

6.2 Floor & Box Puzzles (Multi-story, Vacant floor & Stacking Order)

Key Takeaways

  • In multi-story floor puzzles, floors are conventionally numbered from 1 (ground/lowest floor) to N (top floor), establishing an absolute numerical baseline for inequality constraints.

  • A critical distinction must be maintained between 'number of floors between Person A and Person B' and 'number of persons living between Person A and Person B' whenever a vacant floor is present.

  • In box stacking puzzles, the phrase 'Box X is N positions above Box Y' implies exactly N - 1 boxes are stacked directly between Box X and Box Y.

  • Symmetric clues such as 'As many floors above P as below Q' translate directly to the algebraic equality N - Floor(P) = Floor(Q) - 1.

  • When variable binding (e.g., car brand or city) is linked to floors/boxes, always build an absolute floor column first and populate attributes alongside candidate positions during case splitting.

Last updated: July 2026

6.2 Floor & Box Puzzles (Multi-story, Vacant floor & Stacking Order)

Floor and box arrangement puzzles test vertical spatial positioning and relative sequence evaluation. In SBI PO examinations, these puzzles range from standard 7-to-10 story building layouts to complex configurations involving vacant floors, multi-flat floors (e.g., Flat A and Flat B), and vertical box stacks with attribute binding.


1. Multi-Story Building Conventions & Mathematical Rules

Standard Floor Numbering

In all Indian banking exams, floors are numbered vertically from bottom to top:

  • Floor 1: The ground level / lowest floor.
  • Floor NN: The topmost floor of an NN-story building.

The Vacant Floor Offset Rule

A major area where candidates lose marks in SBI PO Mains is failing to distinguish between floor count and person count when a vacant floor is present.

  • Floors Between: The absolute difference in floor numbers minus 1: Floors Between(A,B)=∣Floor(A)−Floor(B)∣−1\text{Floors Between}(A, B) = |\text{Floor}(A) - \text{Floor}(B)| - 1
  • Persons Between: The number of occupied floors between AA and BB: Persons Between(A,B)=Floors Between(A,B)−Number of Vacant Floors in Range\text{Persons Between}(A, B) = \text{Floors Between}(A, B) - \text{Number of Vacant Floors in Range} Example: If Person AA lives on Floor 7 and Person BB lives on Floor 3, there are ∣7−3∣−1=3|7 - 3| - 1 = 3 floors between them (Floors 4, 5, and 6). If Floor 5 is vacant, there are 3 floors between them, but only 2 persons living between them.

Floor Symmetry Algebra

  • "As many floors above PP as below QQ": N−Floor(P)=Floor(Q)−1N - \text{Floor}(P) = \text{Floor}(Q) - 1   ⟹  Floor(P)+Floor(Q)=N+1\implies \text{Floor}(P) + \text{Floor}(Q) = N + 1 Insight: The sum of the floor numbers of PP and QQ equals the total number of floors plus 1.
PhraseAlgebraic TranslationNumerical Example (N=8N=8, Floor 1 to 8)
AA lives 3 floors above BBFloor(A)−Floor(B)=3\text{Floor}(A) - \text{Floor}(B) = 3If B=2B=2, then A=5A=5 (2 floors between: 3 and 4)
2 persons live between AA and BB (No Vacant)∣Floor(A)−Floor(B)∣=3\vert\text{Floor}(A) - \text{Floor}(B)\vert= 3If B=1B=1, then A=4A=4
2 floors between AA and BB (With Vacant)∣Floor(A)−Floor(B)∣=3\vert\text{Floor}(A) - \text{Floor}(B)\vert= 3Floor gap is always 3 regardless of vacancy
As many floors above AA as below BBFloor(A)+Floor(B)=N+1\text{Floor}(A) + \text{Floor}(B) = N + 1If N=8N=8 and A=7A=7, then B=2B=2 (7+2=97+2=9)

2. Box Stacking Mechanics & Relative Position Equations

Box stacking puzzles differ from floor puzzles because positions are relative rather than fixed absolute numbers, unless a specific box is anchored to the top or bottom of the stack.

Stacking Distance Formulae

  • "Box XX is placed kk places above Box YY": Position(X)−Position(Y)=k\text{Position}(X) - \text{Position}(Y) = k The number of boxes stacked between XX and YY is exactly k−1k - 1.
  • "As many boxes are placed above Box MM as below Box NN": If total boxes = BB, then: Boxes Above(M)=B−Position(M)\text{Boxes Above}(M) = B - \text{Position}(M) Boxes Below(N)=Position(N)−1\text{Boxes Below}(N) = \text{Position}(N) - 1   ⟹  B−Position(M)=Position(N)−1\implies B - \text{Position}(M) = \text{Position}(N) - 1

3. Fully Worked Step-by-Step Example: Multi-Story Floor Puzzle with Vacant Floor

Problem Statement

An eight-story building (numbered 1 to 8 from bottom to top) houses seven residents—P, Q, R, S, T, U, and V—and contains one vacant floor. Each resident owns a different brand of automobile: Toyota, Honda, Ford, BMW, Audi, Hyundai, and Tata.

Clues:

  1. QQ lives on an even-numbered floor above Floor 4.
  2. Only two floors exist between QQ and the person who owns a Ford.
  3. The person who owns a Ford lives on an odd-numbered floor.
  4. PP lives immediately above RR. Neither PP nor RR owns a Ford.
  5. The vacant floor is an even-numbered floor below Floor 6.
  6. There are three floors between the vacant floor and the resident who owns an Audi.
  7. SS owns a Toyota and lives on Floor 1.
  8. The number of floors above TT is equal to the number of floors below UU.
  9. UU owns a BMW and lives on an odd-numbered floor.
  10. The resident who owns a Hyundai lives immediately above the resident who owns a Tata.
  11. VV does not own an Audi.

Step-by-Step Deduction & Case Resolution

Step 1: Anchoring S and Evaluating Q & Ford

  • SS (Toyota) lives on Floor 1.
  • QQ lives on an even floor above Floor 4   ⟹  Q\implies Q lives on Floor 6 or Floor 8.
Branching Case 1 (QQ on Floor 6):
  • Two floors exist between QQ (Floor 6) and Ford   ⟹  \implies Ford must be on Floor 6−3=36 - 3 = 3 (odd floor). (Floor 6 + 3 = 9 is out of bounds).
Branching Case 2 (QQ on Floor 8):
  • Two floors exist between QQ (Floor 8) and Ford   ⟹  \implies Ford must be on Floor 8−3=58 - 3 = 5 (odd floor).

Step 2: Evaluating the Vacant Floor & Audi

  • The vacant floor is an even floor below Floor 6   ⟹  \implies Vacant floor is Floor 2 or Floor 4.
  • Three floors exist between Vacant floor and Audi:
    • If Vacant is Floor 2: Audi is on Floor 2+4=62 + 4 = 6.
    • If Vacant is Floor 4: Audi is on Floor 4+4=84 + 4 = 8.

Let's test Vacant on Floor 4 in Case 1 (QQ on Floor 6, Ford on Floor 3):

  • If Vacant is Floor 4, Audi is on Floor 8.
  • Floor setup so far:
    • Floor 8: Audi
    • Floor 7: [Empty slot]
    • Floor 6: QQ
    • Floor 5: [Empty slot]
    • Floor 4: VACANT
    • Floor 3: Ford
    • Floor 2: [Empty slot]
    • Floor 1: SS (Toyota)

Step 3: Placing P, R, and U (BMW)

  • PP lives immediately above RR. Neither PP nor RR is Ford (Floor 3). The only consecutive available occupied floors are Floor 7 and Floor 6 or Floor 8 and Floor 7 or Floor 3 and Floor 2.
  • Since Floor 6 is QQ, PP and RR must occupy Floor 8 (PP) and Floor 7 (RR). So PP owns Audi.
  • UU (BMW) lives on an odd floor. Available odd floors: Floor 3 or Floor 5.
    • Floor 3 is Ford, so UU (BMW) is on Floor 5.
  • Symmetry clue: Floors above TT = Floors below UU.
    • UU is on Floor 5. Floors below UU = 4 (Floors 1, 2, 3, 4).
    • Floors above TT must be 4   ⟹  T\implies T is on Floor 4? But Floor 4 is VACANT! So TT must be on Floor 3 (Ford), giving 3 floors above TT occupied, matching UU on Floor 5.

Step 4: Placing Hyundai, Tata, and V

  • Hyundai lives immediately above Tata. Available consecutive floors: Floor 3 (TT, Ford) and Floor 2? No, Ford is on Floor 3.
  • Occupants left: RR on Floor 7, QQ on Floor 6. So Floor 7 is Hyundai and Floor 6 (QQ) is Tata.
  • Remaining resident VV is on Floor 2, owning Audi? But clue 11 states VV does not own Audi. Thus, VV takes Floor 2 (Audi assigned to PP).
  • Remaining brand for RR is Honda.

Final Floor Table

Floor No.ResidentAutomobile BrandOccupancy Status
8PAudiOccupied
7RHyundaiOccupied
6QTataOccupied
5UBMWOccupied
4NoneNoneVACANT
3TFordOccupied
2VHondaOccupied
1SToyotaOccupied

4. Common Pitfalls & Exam Traps

  1. Vacant Floor vs Occupant Offset: Remember that a vacant floor counts as a floor when measuring floor distance, but does NOT count as a person when measuring occupant distance.
  2. Off-by-One in Box Stacking: "Box A is 4 boxes above Box B" means Pos(A)−Pos(B)=4Pos(A) - Pos(B) = 4, which leaves 3 boxes in between, not 4.
  3. Floor Top/Bottom Confusion: Always double check if Floor 1 is top or bottom in the problem statement. 99% of Indian banking exams use Floor 1 as bottom, but occasionally custom puzzle descriptions invert this.
Test Your Knowledge

In a 9-story building (Floors 1 to 9), Person A lives on Floor 8 and Person B lives on Floor 2. If Floor 5 is vacant and all other floors are occupied by one person each, how many persons live between Person A and Person B?

A

3 persons

B

4 persons

C

5 persons

D

6 persons

Test Your Knowledge

Seven boxes (P, Q, R, S, T, U, V) are stacked vertically one above another. Box P is placed third from the top (Position 5 in a 7-box stack). Box Q is placed three places below Box P. What is the position of Box Q from the bottom of the stack?

A

First position (bottom)

B

Third position

C

Second position

D

Fourth position

Test Your Knowledge

In an 8-story building numbered 1 to 8, Person X lives on Floor 7. If the number of floors above Person X is equal to the number of floors below Person Y, on which floor does Person Y live?

A

Floor 1

B

Floor 3

C

Floor 4

D

Floor 2

Test Your Knowledge

In a box stacking puzzle with 8 boxes (A through H), Box C is placed immediately above Box D, and Box D is placed four places above Box E. If Box E is at the bottom of the stack (Position 1), what is the position of Box C from the top of the stack?

A

3rd position from the top

B

4th position from the top

C

5th position from the top

D

6th position from the top

Sections you finish are checked off in the contents.