Problem 3047 · Medium

Find the Largest Area of Square Inside Two Rectangles

Intersect every pair of rectangles; the overlap is a box, and its shorter side is the largest square that fits.

Open the interactive visualisation