Solution: Minimum Area Rectangle
Explore how to determine the minimum area of a rectangle formed by points on a plane with sides parallel to axes. Understand encoding points for fast lookup, checking diagonals, verifying vertices, and calculating area efficiently using nested loops and sets.
We'll cover the following...
We'll cover the following...
Statement
You are given an array of points, where point[i]