Join 60,000+ competitive exam aspirants
Seven friends A, B, C, D, E, F and G live on seven different floors of a building, where the ground floor is number 1 and the top floor is number 7. Only two people live between E and G. G lives on an odd-numbered floor. A lives immediately above F. Only one person lives between B and C. D lives on the 4th floor. Who lives on the 7th floor?
A
B
C
E
A
Fix the floor with a definite position (Floor 4: D) and use the 'A-F' block constraint to test the remaining odd floors for G.
Fix the floor with a definite position (Floor 4: D) and use the 'A-F' block constraint to test the remaining odd floors for G.
Floor Assignment Setup
Given: D is on Floor 4. G is on an odd floor (1, 3, 5, or 7). There are two people between E and G (E _ _ G or G _ _ E).
Constraint Testing
If G is on floor 7, E must be on floor 4 (not possible as D is there). If G is on floor 5, E must be on floor 2. If G is on floor 3, E must be on floor 6. If G is on floor 1, E must be on floor 4 (not possible).
Final Arrangement
With G on 5 and E on 2: Remaining floors are 1, 3, 6, 7 for A, B, C, F. Since A is immediately above F, they must occupy 7 and 6. This leaves 3 and 1 for B and C. If A is on 7, F is on 6, E is on 2, G is on 5, D is on 4, and B/C occupy 3/1, the conditions are satisfied.
B: B occupies floor 1 or 3, not 7; C: C occupies floor 3 or 1, not 7; E: E is on floor 2, not 7.
A is correct because placing A on floor 7 and F on floor 6 allows all other constraints to be satisfied with G on 5, D on 4, E on 2, and B/C on 3 and 1.
In floor puzzles, always prioritize fixed positions (like D=4) before variable pairs to reduce the number of potential scenarios.