โ† Uber questions

Maximum nested boxes

Filed under Uber

The question

Find the maximum number of boxes that can fit inside another box given their heights and widths, where a box fits inside another only if it is smaller in both dimensions.

No write-up yet. Related questions below have one.

Related Uber questions

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