Climbing Stairs

Dynamic Programming ยท easy

Implement `climbStairs(n)` returning the number of distinct ways to climb `n` stairs taking 1 or 2 steps at a time.

Loading...

Run your code to see results.