1. The number of persons on floor 2 is more than the number of persons are living on floor 4.
(Floor 2 > Floor 4)
2. The number of persons are living on Floor 2 is more than the number of persons living on Floor 4 but less than the number of persons are living on Floor 3.
(Floor 3 > Floor 2 > Floor 4)
3. The number of persons are living on Floor 1 is more than the number of persons are living on Floor 3.
(Floor 1 > Floor3 > Floor 2 > Floor 4)
4. No flat is vacant in the building.
5. G is living on an even-numbered floor and in an even-numbered flat.
6. G is living in the flat which is immediately east of F's flat.
7. J is living on the floor which is immediately below G's floor but in the same flat.
8. H lives immediately above J but not in the same flat.
9. H is living alone in a flat.
10. K is living in the flat which is immediately south of H's flat, and immediately east of Q's flat
11. K and P are living on the same floor and in the same flat.
CASE I
|
CASE II
|
FLOOR
|
FLAT 1
|
FLAT 2
|
FLAT 3
|
FLOOR
|
FLAT 1
|
FLAT 2
|
FLAT 3
|
4
|
F
|
G
|
H
|
4
|
|
|
|
3
|
|
J Q
|
K P
|
3
|
|
|
|
2
|
|
|
|
2
|
F
|
G
|
H
|
1
|
|
|
|
1
|
|
J Q
|
K P
|
12. S lives on an even-numbered floor which is South-west of Q's flat.
Case II eliminated:
13. M is living in the flat which is immediately east of S's flat and north-east of D's flat, who lives with A.
14. I is living in the flat which is northwest of M's flat.
15. I and O are living on the same floor and in the same flat but not on an even-numbered floor.
CASE I
|
FLOOR
|
FLAT 1
|
FLAT 2
|
FLAT 3
|
4
|
F
|
G
|
H
|
3
|
I O
|
J Q
|
K P
|
2
|
S
|
M
|
|
1
|
D A
|
|
|
16. C is living in an even-numbered flat.
17. C is living in the flat south-east of L's flat, living with S.
18. B is living in the flat which is immediately west of C's flat.
19. E, who is living with Y and Z in the same flat is south-east of R's flat, who is living with M.
20. X's flat is immediately west of Y's flat.
21. The flat in which N lives is south-east of Q's flat.
22. N does not live on the same floor on which Y lives.
CASE I
|
FLOOR
|
FLAT 1
|
FLAT 2
|
FLAT 3
|
4
|
F
|
G
|
H
|
3
|
I O
|
J Q
|
K P
|
2
|
S L
|
M R
|
N
|
1
|
D A B
|
C X
|
E Y Z
|
Thus, K lives on Floor 3, Flat 3.