← Google questions
CodingReported in a candidate post, Mar 2025

Find the largest rectangle formed by given points (min-area rectangle variant)

Filed under Google

Given a set of 2D points, return the largest possible area of an axis-aligned rectangle whose four corners are all in the set (a twist on the minimum-area rectangle problem). Return 0 if none exists.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.