Search⌘ K
AI Features

Maximum Area Rectangle With Point Constraints I

Maximum Area Rectangle With Point Constraints I asks you to use four given points as axis-aligned rectangle corners, with no other point inside or on its border, and return the largest area or negative one.

Statement

You are given an array of points, where points[i] have two values: ...