You are given an integer array, cost, where cost[i] represents the cost of stepping onto the ithi^{th}ith stair. After paying the cost of the stair you land on, you may climb either one or two steps forward. You may begin your climb from step 000 or step 11 ...
cost
cost[i]