# Boxes stacked one above the other

Eight boxes, A, B, C, D, E, F, G, and H are kept one above another not necessarily in the order above.

• Three boxes are between H and G and neither of them is at the top or bottom position.
• Two boxes are between F and C and box F is above box C.
• Two boxes are between G and C.
• The number of boxes between A and H is same as the number between A and G.
• Box D is above box E and more than one box is between D and E.
• Box E is not at the bottom position.

Source

Is the answer to the above question:

F
D
H
C
A
E
G
B

• Yeah! that's the answer. Feb 6 '19 at 13:53

Yes, I believe that this is the only solution. My reasoning, which I'm sure is what you had, but to reaffirm:

Reasoning (note: Top->Bottom, (#) is the clue sentence):

Using clues (2) and (3), the only options are _F__C__G or F__C__G_. Since G is not the bottom (1), it's the latter.

Then it follows:

H must be 3 above G (1): F_HC__G_. A must be (4) F_HCA_G_. Based on (5 & 6): FDHCAEG_

And finally: