What it is
Practice for floor puzzles. Each question is a new puzzle built by code, checked so that exactly one arrangement fits. Floor 1 is the lowest.
How to solve it
- Draw the floors as a column, floor 1 at the bottom.
- Fixed clues first: "on floor 2", "on the top floor".
- "Immediately above or below" clues pin people next to someone already placed.
- "Somewhere above or below" and "exactly one person between" narrow it down.
- "Does not live on…" clues settle the last places.
Tips and shortcuts
- "Above" is not "immediately above". Read each clue carefully.
- "Exactly one person between X and Y" means their floors differ by 2.
- Try the cases when a clue allows two floors, then cross one out.
- Write the final column before reading the answer.
Solved examples
Example 1 (easy)
Kala, Mani, Nila, Ravi and Sita live on floors 1 to 5. Nila lives on the top floor. Kala lives on floor 1. Nila lives immediately above Sita. Sita lives immediately above Mani. Who lives on floor 2?
Nila 5, Sita 4, Mani 3, Kala 1. Ravi takes floor 2: Ravi.
Example 2 (medium)
From Example 1: who lives immediately below Sita?
Floor 3: Mani.
Example 3 (hard)
Kala, Mani, Nila, Ravi and Sita live on floors 1 to 5. Nila is on the top floor. Kala lives immediately above Sita. Exactly one person lives between Nila and Kala. Mani lives somewhere above Sita. Exactly one person lives between Kala and Ravi. Who lives on floor 1?
Nila 5, so Kala 3 and Sita 2. Ravi is two floors from Kala: 1 or 5, and 5 is taken, so Ravi 1. Mani 4 (above Sita ✓). Floor 1: Ravi.
Example 4 (medium)
From Example 3: how many people live between Sita and Nila?
Floors 3 and 4: 2.
Example 5 (easy)
From Example 3: who lives just below the top floor?
Floor 4: Mani.