Climbing Stairs at Qualcomm
Easy53.9% acceptance
This problem has 62.5% frequency at Qualcomm.
Problem Description
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?
Read full problem and hintsTopics
Also asked at 37 companies
More Qualcomm Questions
Rotate ImageMediumPower of TwoEasyPow(x, n)MediumRectangle OverlapEasyCount Array Pairs Divisible by KHard
View all Qualcomm questions