Question DSA-DP-0024
EasyYou can climb 1 or 2 steps at a time. In how many ways can you climb a staircase of 5 steps?
- A.
13
- B.
10
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Dynamic Programming question
You can climb 1 or 2 steps at a time. In how many ways can you climb a staircase of 5 steps?
13
10
Sign up free to see the answer and a step-by-step explanation.
8
5