raviprakashdev / simplePythonProgram

21 stars 55 forks source link

Create Min Cost Climbing Stairs.py #73

Open sapanpdesai opened 4 years ago

sapanpdesai commented 4 years ago

Once you pay the cost, you can either climb one or two steps. You need to find the minimum cost to reach the top of the floor, and you can either start from the step with index 0, or the step with index 1.