You can climb 1 or 2 steps at a time. Return how many distinct ways to reach step `n`. Variant **#30**.
Example 1
Input: n = 13
Output: 377
Constraints
Acceptance: 75% · Topics: dynamic-programming, math
← All practice problems