โ† Oracle questions

Minimum square size to fit N rectangles

Filed under Oracle

Given N rectangles of width W and height H, find the minimum side length S of a square that can contain all N rectangles without rotation. Rectangles must be placed axis-aligned.

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 Oracle questions

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