Problems / 1D Dynamic Programming / Climbing Stairs
#99 Easy Time O(n) Space O(1) Animated

Climbing Stairs

Count ways to climb n stairs taking 1 or 2 steps.

LeetCode ↗
Click play to start
Step 0 / 0
Press play to start the visualization.

Steps