1/11
Loading...
🪜Climbing Stairs!
Let's find the number of ways to climb 5 stairs, taking 1 or 2 steps at a time.
Loading...
Let's find the number of ways to climb 5 stairs, taking 1 or 2 steps at a time.
You are climbing a staircase. It takes n steps to reach the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
5
8
Ways to climb 5 stairs: 1+1+1+1+1, 1+1+1+2, 1+1+2+1, 1+2+1+1, 2+1+1+1, 1+2+2, 2+1+2, 2+2+1 = 8 ways