Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 1691. Maximum Height by Stacking Cuboids
Given cuboids whose dimensions can be permuted, pick and stack a subset so each cuboid above has all three dimensions <= the one below, maximizing the sum of heights. After normalizing each cuboid's dimensions this reduces to a DP/weighted-LIS on a partial order of up to 100 items.
Asked at:
Amazon
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid July, 2025
Amazon
Senior
Maximum Height by Stacking Cuboids
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.