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 cf25207 commit e81a0e3Copy full SHA for e81a0e3
climbing-stairs/sungjinwi.py
@@ -18,4 +18,4 @@ def climbStairs(self, n: int) -> int:
18
prv, cur = 1, 2
19
for _ in range(3, n + 1) :
20
prv, cur = cur, prv + cur
21
- return (cur)
+ return (cur)
0 commit comments