746. Min Cost Climbing Stairs 有问题

On a staircase, the i-th step has some non-negative cost cost[i] assigned (0 indexed). Once you pay the cost, you can either climb one or two steps. You need to find minimum cost to reach the top of t
相关文章
相关标签/搜索