Search⌘ K
AI Features

Maximum Area Rectangle With Point Constraints I

Maximum Area Rectangle With Point Constraints I asks you to choose four points as corners of an axis-aligned rectangle 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: ...