Maximum-Area Rectangle at Any Orientation
CodingOnsiteSoftware EngineerReported Sep, 2026
Company question banks are included with the Insider plan.
Given distinct integer coordinate points [x,y], return the largest area of a rectangle whose four vertices are among the points. Rectangle edges may have any orientation. Return zero if no...