Leetcode 3380. Maximum Area Rectangle With Point Constraints I
Given up to 10 unique points with integer coordinates, find the largest-area axis-aligned rectangle whose four corners are among the points and that contains no other point on its edges or interior, or return -1 if none exists. The small N makes this a brute-force check over point quadruples (or pairs of x and y coordinates) to verify rectangle corners and absence of interior/boundary points.
Asked at:
Microsoft
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Late January, 2026
Microsoft
Mid-level
Maximum Area Rectangle With Point Constraints I
Hello Interview Premium
Your account is free and you can post anonymously if you choose.