Available question text
Given a set of axis-aligned rectangles, find the largest-area axis-aligned square that can fit entirely inside the intersection region of at least two rectangles. The core challenge is geometric: for overlapping rectangle pairs compute their intersection rectangle and use the smaller of its width and height as the maximum square side, returning the largest such area (or 0).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
Google
Leetcode 3047. Find the Largest Area of Square Inside Two Rectangles
Reported Oct 16, 2024 · 1 source report
JUNIOR
Source snapshot: Nov 12, 2026
View source