Problems / 1D Dynamic Programming / House Robber
#101 Medium Time O(n) Space O(1) Animated

House Robber

Maximize robbery money without robbing adjacent houses.

LeetCode ↗
Approach: Dynamic Programming (1D)
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps