Back to all patterns

DP / LIS

1 problems • Practice on LeetCode to earn credits

About This Pattern

Master the DP / LIS pattern by practicing these problems organized by difficulty.Focus on the Key Signals - these are the indicators that tell you when to use this pattern.

Hard (1)

Maximum Height by Stacking Cuboids

Stack cuboids to maximize height with constraints on dimensions.

Key Signals:

Sorting firstLIS variantDimension constraints