Problem 391 · Hard

Perfect Rectangles

Verify whether a set of axis-aligned rectangles cover the entire grid perfectly with no overlap or gaps.

Open the interactive visualisation