Join 60,000+ competitive exam aspirants
Seven boxes A, B, C, D, E, F and G are kept one over the other but not necessarily in the same order. Only five boxes are kept above E. Only two boxes are kept between F and E. C is kept immediately above A. G is kept below D but above F. How many boxes are kept between B and A?
Three
One
Four
Two
One
Fix the position of the box with the most constraints first (E) and place others relative to it to build the stack from top to bottom.
Fix the position of the box with the most constraints first (E) and place others relative to it to build the stack from top to bottom.
Establish the vertical stack
There are 7 positions. Only 5 boxes are above E, so E must be in the 6th position from the top. Position 7 is the bottom.
Place F relative to E
Two boxes between F and E. F cannot be below E (position 8 is invalid), so F must be in position 3 (Position 6 - 3 = 3).
Apply G and D constraints
G is between D and F (D > G > F). Since F is at position 3, G and D must be in positions 1 and 2. Thus, D=1, G=2.
Finalize positions for C, A, and B
Positions remaining: 4, 5, 7. C is immediately above A, so they must be in 4 and 5. This leaves B in position 7. The stack top-to-bottom: D(1), G(2), F(3), C(4), A(5), E(6), B(7).
Calculate distance between B and A
A is at position 5 and B is at position 7. There is exactly one box (E) between them.
A: Three is incorrect because only E separates A and B; C: Four is incorrect as it overestimates the gap; D: Two is incorrect because the calculation identifies only one box between positions 5 and 7.
B is correct because the final arrangement [D, G, F, C, A, E, B] shows E is the only box placed between A (pos 5) and B (pos 7).
In vertical arrangement puzzles, always convert 'above/below' statements into a numbered scale (1 to N) immediately to visualize the stack.