AlgoViz
← Back to trail

DP: Climbing Stairs

Easy+70 XP

Count ways to climb n stairs (1 or 2 at a time) by filling a DP table.

No visualization loaded.

Watch

i

Press Run to begin.

0/0
source cells (dp[i-1], dp[i-2])computing dp[i]filled

Practice problems