Staircase Problem: Number of Ways to Climb
You’re standing at the bottom of a staircase with n steps. You can climb either 1 or 2 steps at a time. How many distinct ways can you reach the top?
You’re standing at the bottom of a staircase with n steps. You can climb either 1 or 2 steps at a time. How many distinct ways can you reach the top?