Min Cost Climbing Stairs — 1-D DP

Find the least total toll to climb a stairway where each stair charges a toll when stepped off, starting on either of the first two.

1-D DP · Easy

More in 1-D DP

All algorithm problems