Problem 1580 · Medium

Put Boxes Into the Warehouse II

Boxes may enter the warehouse from either end. Each room takes at most one box, and a box must fit under every ceiling on its way in.

Open the interactive visualisation