← Amazon questions

Stacking n-dimensional slabs for maximum total height

Filed under Amazon

Given $N$ slabs with $d$ dimensions, determine the maximum height achievable by stacking them such that a slab can be placed on top of another only if all its dimensions are strictly smaller than the…

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.