Search⌘ K
AI Features

Solution: Minimum Area Rectangle

Solution: Minimum Area Rectangle asks you to use points on a 2D plane to find the smallest area of an axis-aligned rectangle formed by four points, or return zero if none exists.

Statement

You are given an array of points, where point[i] =[xi,yi]= [x_i, y_i] ...