It is given that,
The seven people are P, Q, R, S, T, U, and V.
The number of people living below R is an even number.
Q lives on a floor immediately above R's floor.
We get,
Floor No. | Case 1 | Case 2 |
7 | | |
6 | Q | |
5 | R | |
4 | | Q |
3 | | R |
2 | | |
1 | | |
The number of people living between R and V is more than two.
T lives on an even-numbered floor but not on the floor adjacent to R's floor.
We get,
Floor No. | Case 1 | Case 2 |
7 | | V |
6 | Q | T |
5 | R | |
4 | | Q |
3 | | R |
2 | T | |
1 | V | |
Only three people live between S and P, who lives on a floor adjacent to T's floor.
U lives on a floor somewhere above the floor numbered 3.
Here, case 2 is invalid as U cannot be accommodated.
The final arrangement is,
Floor No. | Name |
7 | S |
6 | Q |
5 | R |
4 | U |
3 | P |
2 | T |
1 | V |
Here, the correct pair is 'Floor 4 - U'.