Update problems/0746.使用最小花费爬楼梯.md
This commit is contained in:
parent
1ad26f69cd
commit
ac16522a48
|
|
@ -314,7 +314,7 @@ func min(a, b int) int {
|
|||
|
||||
### JavaScript
|
||||
|
||||
```Javascript
|
||||
```JavaScript
|
||||
var minCostClimbingStairs = function(cost) {
|
||||
const dp = [0, 0]
|
||||
for (let i = 2; i <= cost.length; ++i) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue