Six persons live in a three-storey building. Floor 2 is immediately below floor 2, and immediately above floor 1.
Each floor consists of two flats- Flat A and Flat B. Flat A is towards the west of Flat B.
Two persons live between P and R's floor.
P and R do not live in the same flat.
| Case 1 | | Case 2 | | Case 3 | | Case 4 | |
Floor 3 | P | | | P | R | | | R |
Floor 2 | | | | | | | | |
Floor 1 | | R | R | | | P | P | |
| Flat A | Flat B | Flat A | Flat B | Flat A | Flat B | Flat A | Flat B |
T lives below S.
Q live immediately below S in the same flat.
So, S lives on the third floor.
| Case 1 | | Case 2 | | Case 3 | | Case 4 | |
Floor 3 | P | S | S | P | R | S | S | R |
Floor 2 | | Q | Q | | | Q | Q | |
Floor 1 | | R | R | | | P | P | |
| Flat A | Flat B | Flat A | Flat B | Flat A | Flat B | Flat A | Flat B |
T lives below U and S.
| Case 1 | | Case 2 | | Case 3 | | Case 4 | |
Floor 3 | P | S | S | P | R | S | S | R |
Floor 2 | U | Q | Q | U | U | Q | Q | U |
Floor 1 | T | R | R | T | T | P | P | T |
| Flat A | Flat B | Flat A | Flat B | Flat A | Flat B | Flat A | Flat B |
U does not live in flat B. So, case 2 and 4 cancelled.
U does not live below R's floor. So, case 3 cancelled.
| Case 1 | |
Floor 3 | P | S |
Floor 2 | U | Q |
Floor 1 | T | R |
| Flat A | Flat B |
This is the final arrangement.
P-S live on the floor 1.
Q-U live on the floor 2.
Similarly, T-R live on the floor 3.