Climbing Stairs
You are climbing a staircase with n steps. Each move you may climb either 1 or 2 steps.
Return the number of **distinct** ordered ways you can reach the top.
Example cases
- two stepsin n = 2out 2Either 1+1 or a single 2-step.
- three stepsin n = 3out 31+1+1, 1+2, or 2+1.
- one stepin n = 1out 1
Constraints
- 1 <= n <= 45
n =
2