← Amazon questions

Box Stacking with Single Box Constraint

Filed under Amazon

Given a set of boxes with dimensions (length, width, height), find the maximum height of a stack such that a box can only be placed on another if its base dimensions are strictly smaller.

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

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