摘要: 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 o... 阅读全文
posted @ 2017-12-20 22:13 xiejunzhao 阅读(849) 评论(0) 推荐(0)