Search⌘ K
AI Features

Minimum Area Rectangle

Minimum Area Rectangle asks you to choose four given points that form a rectangle with sides parallel to the axes and return its smallest area, or zero when none can be formed.

Statement

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