Array
3047. Find the Largest Area of Square Inside Two Rectangles
Given n rectangles via bottomLeft and topRight (axis-aligned). Find the largest area of a square fitting inside the intersection of some pair of rectangles. If no pair intersects, 0. For each pair,…
Loading…