8 QUESTIONS
Q1 1 / 8 medium
Climbing Stairs
You can climb 1 or 2 steps at a time. Given n steps, how many distinct ways can you reach the top?
What are the subproblems you need to solve?
You can climb 1 or 2 steps at a time. Given n steps, how many distinct ways can you reach the top?
What are the subproblems you need to solve?