Join 60,000+ competitive exam aspirants
A, G, H, P, S and Y live on six different floors of the same building. The lowermost floor in the building is numbered 1, the floor above it is numbered 2 and so on, till the topmost floor, which is numbered 6. H lives on an even-numbered floor but not on floor number 4. Only two people live between H and P. A lives on an odd-numbered floor but not on the lowermost floor. Only two people live between A and Y. S lives immediately below A. How many people live between G and S?
Four
Two
Three
One
Two
Fix H first (floor 2 or 6) using constraints, place P, then position A and S instantly to lock the remaining slots.
Fix H first (floor 2 or 6) using constraints, place P, then position A and S instantly to lock the remaining slots.
Step 1: Position H and P
H lives on an even-numbered floor but not floor 4, so H can be on floor 2 or 6. If H is on floor 2, P must be on floor 5 (two people between them). If H is on floor 6, P is on floor 3.
Step 2: Position A and S
A lives on an odd floor (3 or 5) and not on floor 1. Testing H=2 leads to a conflict with S immediately below A. Thus, H=6 and P=3. This forces A to be on floor 5, which means S (immediately below A) is on floor 4.
Step 3: Place Y and G
Only two people live between A (floor 5) and Y, placing Y on floor 2. The remaining person G must live on the only vacant floor, which is floor 1.
Step 4: Count between G and S
G is on floor 1 and S is on floor 4. The people living between them are on floors 2 and 3 (Y and P), so exactly two people live between G and S.
A: Four is incorrect because only two floors lie between floor 1 and floor 4; C: Three is incorrect as the exact count of people between G and S is two; D: One is incorrect because floors 2 and 3 separate G and S.
B is correct because G is on floor 1 and S is on floor 4, leaving Y (floor 2) and P (floor 3) between them, meaning exactly two people live between G and S.
Always start floor puzzles by placing entities with fixed or highly restricted position constraints like H and A first to minimize branching.