Search⌘ K
AI Features

Maximum Area Rectangle With Point Constraints I

Explore how to identify the largest rectangle on a plane using given points, ensuring the shape's borders align with axes and contain no other points inside or on the edges. Learn to solve this geometric problem by analyzing point coordinates and applying constraints to find the maximum area or determine if none exist.

Statement

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