Floor and Box Puzzles: Step-by-Step Method with Solutions
Floor puzzles place people on the floors of a building, and box puzzles stack boxes one above another. Both are really one vertical line with clues about who is above, below or how far apart. A neat table, definite clues first and honest case splitting solve almost every version, including the two-attribute puzzles common in bank exams.
Asked in: IBPS PO, SBI PO, IBPS Clerk, RRB PO, SSC CGL, GAT, NTS
Set up a vertical table
Draw a column numbered from 1 at the bottom to the top floor or top position at the top. Write the numbers before reading any clue, and confirm whether the question counts from the bottom (usual for floors) or uses another convention.
For two-attribute puzzles (person and colour, box and item), add a second column next to the first so that each row holds one complete record.
Translate the clue words
'Immediately above' means the very next floor up. 'Above' or 'somewhere above' means any higher floor. 'Exactly two people live between A and B' means their floor numbers differ by 3.
'Two floors above' means the floor number is 2 higher, which leaves one floor between. Read these carefully, because confusing 'two floors above' with 'two people between' is the most common slip.
- k people between A and B β |A β B| = k + 1
- A immediately above B β A = B + 1
- A two floors above B β A = B + 2
Definite clues first
Start with clues that fix an exact floor (top floor, floor 4, the middle position) and attach the clues that hang off someone already placed.
Odd or even floor clues, together with a 'between' clue, often fix a person with very little work. Keep negative clues such as 'not at the top' for the end; they decide between cases.
Splitting into cases
When a clue allows two places (above or below, odd floor 3 or 5), draw both cases side by side and continue each one with the remaining clues.
A case dies the moment a person has no room left or a clue breaks. If exactly one case survives, the puzzle is solved; if two survive, check whether the question's answer is the same in both.
Answering the questions
Once the table is complete, all questions are look-ups: who is on a floor, how many are between two people, which pair is adjacent, or which attribute goes with whom.
When counting people between two floors, subtract the floor numbers and take away 1. Do not count the two people themselves.
- People between floors a and b = |a β b| β 1
Solved examples
- Ali, Ravi, Sara and Neha live on floors 1 (lowest) to 4 (top), one per floor. Neha lives on the top floor. Ravi lives immediately below Neha. Ali lives above Sara. Who lives on floor 1?
- Neha is on 4, so Ravi is on 3.
- Ali and Sara share floors 1 and 2, and Ali is above Sara.
- So Ali is on 2 and Sara on 1.
Answer: Sara - Five boxes A, B, C, D and E are stacked, position 1 at the bottom. C is at the bottom. Exactly one box is between C and A. E is immediately above A. B is not at the top. Write the stack.
- C is at 1, and with one box between C and A, A is at 3.
- E is directly above A, at 4.
- Positions 2 and 5 remain for B and D. B is not at the top, so B is at 2 and D at 5.
Answer: From the bottom: C, B, A, E, D - Bilal, Divya, Farah, Karan and Mehwish live on floors 1 to 5 (floor 1 lowest). Bilal lives on an even-numbered floor. Exactly one person lives between Bilal and Karan. Divya lives immediately above Karan. Farah lives below Mehwish, and Mehwish does not live on the top floor. Find the arrangement.
- Case 1: Bilal on 2. Then Karan is on 4 (floor 0 does not exist) and Divya on 5. Floors 1 and 3 are left; Farah below Mehwish gives Farah 1 and Mehwish 3.
- Case 2: Bilal on 4. Then Karan is on 2 and Divya on 3. Floors 1 and 5 are left, so Mehwish would be on 5, the top floor, which the last clue forbids.
- Only case 1 survives.
Answer: Farah 1, Bilal 2, Mehwish 3, Karan 4, Divya 5 - Six boxes U, V, W, X, Y and Z are stacked, position 1 at the bottom. X is at position 2. Exactly three boxes are between X and W. Y is immediately below W. Z is somewhere above U, and U is not at the bottom. How many boxes are between V and Z?
- Three boxes between means a gap of 4 positions, so W is at 6 (position β2 is impossible). Y is at 5.
- Positions 1, 3 and 4 remain for U, V and Z. U is not at 1, and Z is above U, so U is at 3, Z at 4 and V at 1.
- V (1) and Z (4) have X and U between them.
Answer: 2 - Hina, Om, Shahid and Tanya live on floors 1 to 4 (floor 1 lowest), and each keeps a different pet: cat, dog, parrot or fish. Om lives on floor 3 and keeps a fish. Hina lives immediately below Om and keeps a dog. The parrot is on the top floor. Shahid lives above Tanya. Who keeps the cat?
- Om is on 3 with the fish; Hina is on 2 with the dog.
- Floors 1 and 4 remain, and Shahid is above Tanya, so Shahid is on 4 and Tanya on 1.
- The parrot is on floor 4 with Shahid, so Tanya keeps the cat.
Answer: Tanya - Ayaan, Bushra, Chetan, Dania, Eshan and Fiza live on floors 1 to 6 (floor 1 lowest). Chetan lives on an odd-numbered floor other than floor 1. Exactly two people live between Chetan and Bushra. Ayaan lives immediately above Bushra. Dania lives below Eshan, and Eshan does not live on the top floor. Who lives on the top floor?
- Chetan is on 3 or 5. If Chetan is on 3, Bushra is on 6 and Ayaan would need floor 7, which does not exist. So Chetan is on 5, Bushra on 2 and Ayaan on 3.
- Floors 1, 4 and 6 remain for Dania, Eshan and Fiza. Eshan is not on 6 and Dania is below Eshan, so Dania is on 1 and Eshan on 4.
- Fiza takes floor 6.
Answer: Fiza
Exam shortcuts
- Number the floors from the bottom before reading the clues, and write each person's name in the table as soon as their floor is certain.
- Turn every 'between' clue into a floor difference at once: k people between means a difference of k + 1.
- Use odd and even floor clues early; with a 'between' or 'immediately above' clue they usually leave only one or two options.
- When you split cases, carry them side by side and cross out a case the moment it breaks a clue.
- In two-attribute puzzles, fill the attribute column only after the person column is fixed, unless a clue links an attribute to a fixed floor.
Common mistakes
- Reading 'two floors above' as 'two people between', which shifts a person by one floor.
- Counting floors from the top when the puzzle numbers them from the bottom, or the reverse.
- Counting the two named people when asked how many live between them.
- Dropping a case too early because it looked unlikely rather than because a clue actually ruled it out.
Practice MCQs
- Five friends, Ali, Bina, Ravi, Sana and Kiran, live on a five-storey building, one on each floor; floor 1 is the lowest and floor 5 the top. Ravi lives on an odd-numbered floor, but not on the lowest or the top floor. Sana lives immediately above Ravi. Ali lives on a floor below Bina. Bina lives on an even-numbered floor. Who lives on the top floor?
A) Sana
B) Bina
C) Kiran
D) Ali
Answer: C) Kiran β Ravi must be on floor 3, so Sana is on floor 4. Floors 1, 2 and 5 are left. Bina needs an even floor, so Bina is on 2, and Ali, below Bina, is on 1. Kiran takes floor 5. Sana is on floor 4, Bina on 2 and Ali on 1, so none of them is at the top. - Five friends, Ali, Bina, Ravi, Sana and Kiran, live on a five-storey building, one on each floor; floor 1 is the lowest and floor 5 the top. Ravi lives on an odd-numbered floor, but not on the lowest or the top floor. Sana lives immediately above Ravi. Ali lives on a floor below Bina. Bina lives on an even-numbered floor. How many people live between Ali and Sana?
A) 2
B) 1
C) 3
D) None
Answer: A) 2 β The order from the bottom is Ali (1), Bina (2), Ravi (3), Sana (4), Kiran (5). Between Ali and Sana are Bina and Ravi, so two people. One person would be the count between Ali and Ravi, and three would wrongly include Kiran or Sana herself. - Six people, Hamza, Priya, Usman, Neha, Zara and Arjun, live on floors 1 (lowest) to 6 (top) of a building, one on each floor. Exactly two people live between Hamza and Neha. Priya lives either on the lowest floor or on the top floor. Zara lives two floors above Neha. Arjun lives on an even-numbered floor exactly two floors away from Hamza. Usman lives on a floor below Zara. Who lives immediately above Neha?
A) Zara
B) Arjun
C) Usman
D) Hamza
Answer: B) Arjun β Zara is two floors above Neha, so Neha is on floor 1, 2, 3 or 4, and Hamza is three floors from Neha. Neha on 2 puts Hamza on 5 and Neha on 4 puts Hamza on 1; either way Arjun, two floors from Hamza, lands on an odd floor, which fails. Neha on 1 puts Hamza on 4 and Zara on 3; Priya must then take floor 6, Arjun floor 2 and Usman floor 5, above Zara, which fails. Neha on 3 works: Hamza 6, Zara 5, Arjun 4, Priya 1, Usman 2. So Arjun is directly above Neha. Zara is two floors above her, Usman is below her, and Hamza is on the top floor. - Six people, Hamza, Priya, Usman, Neha, Zara and Arjun, live on floors 1 (lowest) to 6 (top) of a building, one on each floor. Exactly two people live between Hamza and Neha. Priya lives either on the lowest floor or on the top floor. Zara lives two floors above Neha. Arjun lives on an even-numbered floor exactly two floors away from Hamza. Usman lives on a floor below Zara. On which floor does Usman live?
A) Floor 1
B) Floor 4
C) Floor 5
D) Floor 2
Answer: D) Floor 2 β The arrangement from the bottom is Priya (1), Usman (2), Neha (3), Arjun (4), Zara (5), Hamza (6). Usman is on floor 2. Floor 1 belongs to Priya, floor 4 to Arjun and floor 5 to Zara. - Five boxes, P, Q, R, S and T, are stacked one above another; position 1 is the bottom and position 5 the top. Box R is in the middle position. Box T is immediately above box P. Box Q is somewhere above box R, but Q is not at the top. Which box is at the top?
A) S
B) Q
C) T
D) P
Answer: A) S β R is at position 3. Q is above R but not at the top, so Q is at 4. T sits directly on P, and the only pair of adjacent free positions is 1 and 2, so P is at 1 and T at 2. S takes position 5, the top. Q is fourth, T second and P at the bottom. - Five boxes, P, Q, R, S and T, are stacked one above another; position 1 is the bottom and position 5 the top. Box R is in the middle position. Box T is immediately above box P. Box Q is somewhere above box R, but Q is not at the top. Which box is immediately below box Q?
A) T
B) S
C) R
D) P
Answer: C) R β From the bottom the stack reads P, T, R, Q, S. Box Q is at position 4, so the box just below it is R at position 3. T is at 2 and P at 1, further down, while S is above Q. - Imran, Meera, Faisal, Divya and Laiba live on floors 1 (lowest) to 5 (top), one on each floor, and each likes a different colour: red, blue, green, yellow or white. Meera lives on floor 4. The person who likes green lives immediately below Meera. Faisal likes yellow and lives above the person who likes green. Imran lives on an even-numbered floor. Divya does not like green. Imran likes neither red nor blue. Meera likes red. Who likes blue?
A) Laiba
B) Imran
C) Faisal
D) Divya
Answer: D) Divya β Green is on floor 3 (just below Meera on 4), and Faisal, who likes yellow and lives above green, must be on floor 5. Imran takes the even floor 2. Divya does not like green, so Divya is on floor 1 and Laiba on floor 3 with green. Meera likes red and Imran likes neither red nor blue, so Imran likes white and Divya likes blue. Laiba likes green, Imran white and Faisal yellow. - Imran, Meera, Faisal, Divya and Laiba live on floors 1 (lowest) to 5 (top), one on each floor, and each likes a different colour: red, blue, green, yellow or white. Meera lives on floor 4. The person who likes green lives immediately below Meera. Faisal likes yellow and lives above the person who likes green. Imran lives on an even-numbered floor. Divya does not like green. Imran likes neither red nor blue. Meera likes red. Which colour does the person on floor 2 like?
A) Blue
B) White
C) Red
D) Green
Answer: B) White β Floor 2 is Imran's, because he needs an even floor and floor 4 is Meera's. Imran cannot like red or blue, green belongs to floor 3 and yellow to Faisal, so he likes white. Blue is Divya's colour on floor 1, red is Meera's and green is Laiba's. - Six boxes coloured red, blue, green, black, white and pink are stacked one on top of another; position 1 is the bottom and position 6 the top. Exactly two boxes are between the red box and the green box. The blue box is immediately above the green box. Exactly one box is between the black box and the blue box. The pink box is somewhere below the red box. The white box is immediately below the black box, and the white box is not at the bottom. How many boxes are between the pink box and the green box?
A) 3
B) 2
C) 4
D) 1
Answer: A) 3 β Blue sits on green, so green is not at the top. Testing positions, red and green three apart with pink below red and a white-black pair one box away from blue fits only one way: pink 1, red 2, white 3, black 4, green 5, blue 6. Between pink (1) and green (5) are red, white and black: three boxes. Two is the count between red and green, four would include green itself, and one is the gap between black and blue. - Six boxes coloured red, blue, green, black, white and pink are stacked one on top of another; position 1 is the bottom and position 6 the top. Exactly two boxes are between the red box and the green box. The blue box is immediately above the green box. Exactly one box is between the black box and the blue box. The pink box is somewhere below the red box. The white box is immediately below the black box, and the white box is not at the bottom. Which box is immediately above the white box?
A) Green
B) Red
C) Blue
D) Black
Answer: D) Black β The clue says white is immediately below black, and the full stack from the bottom is pink, red, white, black, green, blue. So black is directly above white. Red is directly below white, and green and blue are higher up. - Seven people, Ahmed, Kavya, Bilal, Riya, Saad, Ishaan and Mahnoor, live on floors 1 (lowest) to 7 (top), one on each floor. Kavya lives on an odd-numbered floor above floor 4. Exactly three people live between Kavya and Saad. Riya lives immediately below Saad. Ahmed lives on a floor below Mahnoor. Only one person lives between Bilal and Ahmed. Who lives on floor 4?
A) Bilal
B) Mahnoor
C) Ahmed
D) Saad
Answer: C) Ahmed β If Kavya were on floor 5, Saad would be on floor 1 and Riya, below Saad, would have no floor, so Kavya is on 7, Saad on 3 and Riya on 2. Bilal and Ahmed are two floors apart among floors 1, 4, 5 and 6, so they take 4 and 6. Ahmed must be below Mahnoor, so Ahmed is on 4, Bilal on 6, Mahnoor on 5 and Ishaan on 1. Bilal is on 6, Mahnoor on 5 and Saad on 3. - Seven people, Ahmed, Kavya, Bilal, Riya, Saad, Ishaan and Mahnoor, live on floors 1 (lowest) to 7 (top), one on each floor. Kavya lives on an odd-numbered floor above floor 4. Exactly three people live between Kavya and Saad. Riya lives immediately below Saad. Ahmed lives on a floor below Mahnoor. Only one person lives between Bilal and Ahmed. Which of the following pairs live on adjacent floors?
A) Ahmed and Bilal
B) Mahnoor and Bilal
C) Saad and Mahnoor
D) Riya and Kavya
Answer: B) Mahnoor and Bilal β The order from floor 1 is Ishaan, Riya, Saad, Ahmed, Mahnoor, Bilal, Kavya. Mahnoor (5) and Bilal (6) are next to each other. Ahmed (4) and Bilal (6) have Mahnoor between them, Saad (3) and Mahnoor (5) have Ahmed between them, and Riya (2) and Kavya (7) are far apart. - Seven boxes, J, K, L, M, N, O and P, are kept one above another; position 1 is the bottom and position 7 the top. Box M is in the fourth position. Exactly two boxes are between M and K. Box L is immediately above box K. Box J is somewhere above box O. Box N is somewhere above box P. Box O is in an even-numbered position. Which box is second from the top?
A) J
B) N
C) L
D) O
Answer: D) O β K is three places from M (position 4), so K is at 1 or 7. L must be directly above K, so K is at 1 and L at 2. Positions 3, 5, 6 and 7 remain; O needs an even position, so O is at 6, and J, above O, is at 7. N above P gives N at 5 and P at 3. Second from the top is position 6, which is O. J is at the very top, N at 5 and L at 2. - Seven boxes, J, K, L, M, N, O and P, are kept one above another; position 1 is the bottom and position 7 the top. Box M is in the fourth position. Exactly two boxes are between M and K. Box L is immediately above box K. Box J is somewhere above box O. Box N is somewhere above box P. Box O is in an even-numbered position. How many boxes are between box K and box N?
A) 4
B) 2
C) 3
D) 5
Answer: C) 3 β The stack from the bottom is K, L, P, M, N, O, J. K is at 1 and N at 5, so L, P and M lie between them: three boxes. Four would count N itself, two leaves out one of L, P or M, and five would reach J. - Six people, Asad, Bhavna, Faraz, Gauri, Junaid and Lata, live on floors 1 (lowest) to 6 (top), one on each floor, and each comes from a different city: Lahore, Delhi, Karachi, Mumbai, Multan or Pune. The person from Karachi lives on the top floor. Asad is from Delhi. The person from Lahore lives immediately below Asad. The person from Mumbai lives on floor 1. Gauri lives on an odd-numbered floor and is from neither Lahore nor Mumbai. Lata lives immediately above Faraz. Bhavna is from Pune. Who lives on floor 5, and which city is that person from?
A) Gauri, Pune
B) Gauri, Multan
C) Bhavna, Multan
D) Junaid, Karachi
Answer: B) Gauri, Multan β Floor 1 is Mumbai and floor 6 is Karachi, so Asad (Delhi) is on 3, 4 or 5 with Lahore just below him. If Asad is on 4, Gauri must take 5 and Bhavna (Pune) would need floor 2, leaving no adjacent pair for Faraz and Lata. If Asad is on 5, Lahore is on 4, Gauri must take 3 and Bhavna (Pune) takes 2, so again floors 1, 4 and 6 leave no adjacent pair for Faraz and Lata. So Asad is on 3 and the Lahore floor is 2; Gauri takes 5, Faraz 1 and Lata 2 (Lahore), Bhavna on 4 with Pune, Junaid on 6 with Karachi. Gauri's city is the one left: Multan. Pune is Bhavna's city, Bhavna is on floor 4, and Junaid is on the top floor.
Questions
How are floor puzzles different from seating arrangement?
They use the same logic, but the line is vertical: 'above' and 'below' replace 'left' and 'right', and there is no question of which way people face. Floor 1 is usually the bottom.
What should I do if two cases both survive?
Re-read every clue, especially negative ones such as 'not on the top floor'; one of them usually kills a case. If both still survive, check whether the question has the same answer in both cases.
How long should a floor puzzle take in a bank exam?
A five- to seven-person puzzle with four or five questions should take about five to six minutes. Building the table takes most of the time; the questions then take seconds each.