Closed satyam878 closed 3 years ago
Kindly assign me this task @SarthakKeshari
@satyam878, Kindly add your solution to "leetcode" folder. Deadline - 13/10/2021
This Issue will only be counted towards ranking criteria of this repository. Gentle advice- A bit more tough questions would be appreciated for Hacktoberfest tag.
Enter your question -
You are given an integer array cost where cost[i] is the cost of ith step on a staircase. Once you pay the cost, you can either climb one or two steps.
You can either start from the step with index 0, or the step with index 1.
Return the minimum cost to reach the top of the floor.
Enter link to the question(if question belongs to any online platform) -
https://leetcode.com/problems/min-cost-climbing-stairs/
Tags for the question(eg - Array, Basic, Stack, etc.) -
Array, Dynamic Programming