Search⌘ K
AI Features

Minimum Area Rectangle

Minimum Area Rectangle asks you to use four given points to form an axis-aligned rectangle and return the smallest possible area, or zero if none exists.

Statement

You are given an array of points, where point[i] ...