摘要: 代码实现: class Solution { public int minCostClimbingStairs(int[] cost) { int n = cost.length; int []dp = new int [n+1]; dp[0]=0; dp[1]=0; for(int i=2;i<= 阅读全文
posted @ 2021-11-14 16:41 夜未央111 阅读(33) 评论(0) 推荐(0)