Leetcode 963. Minimum Area Rectangle II
Given up to 50 unique 2D points, find the minimum-area rectangle (sides may be rotated) whose four vertices are in the set. Key insight: any rectangle's diagonals share the same midpoint and length, so group point pairs by midpoint and squared distance and check pairings to compute the minimal area.
Asked at:
Google
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
Late August, 2026
Mid-level
The question was same as in the descripition on leetcode, just the change was to calculate the maximum area rectangle instead of the minimum
Hello Interview Premium
Your account is free and you can post anonymously if you choose.