House Robber — 1-D DP

Pick non-adjacent licensing offers along a row to maximize total revenue, where skipping all of them is allowed.

1-D DP · Medium

More in 1-D DP

All algorithm problems