Leetcode 3047. Find the Largest Area of Square Inside Two Rectangles | Hello Interview