Back to all patterns
Dynamic Programming (1D) with Cases
1 problems • Practice on LeetCode to earn credits
About This Pattern
Master the Dynamic Programming (1D) with Cases 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.
Medium (1)
House Robber II
House Robber problem with houses arranged in a circle.
Key Signals:
Circular constraintRun twice: exclude first or lastTake max