Problem 1691 · Hard

Maximum Height by Stacking Cuboids

Stack cuboids so the height is maximized while every box in the stack fits under the one beneath it in all rotations. The visual sorts each box's dimensions and builds a chain of stacked boxes.

Open the interactive visualisation