We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a7f3a0 commit 87b6ad0Copy full SHA for 87b6ad0
climbing-stairs/prograsshopper.py
@@ -22,4 +22,4 @@ def climbStairs(self, n: int) -> int:
22
max_count_2steps = n // 2
23
for i in range(max_count_2steps + 1):
24
ways += math.comb(n - i, i)
25
- return ways
+ return ways
0 commit comments