Find the Largest Area of Square Inside Two Rectangles

mediumSolve on LeetCodeLast edited: August 2, 2025