Concept Flow - Climbing Stairs Problem
Start at step 0
Can climb 1 or 2 steps
Calculate ways to reach step n
Use ways(n-1) + ways(n-2)
Repeat until step n
Return total ways to reach step n
We start at step 0 and can climb either 1 or 2 steps at a time. The total ways to reach step n is the sum of ways to reach steps n-1 and n-2, repeated until we reach step n.
