Skip to content

Commit 469e581

Browse files
authored
Update climbing-stairs.cpp
1 parent 4ab013c commit 469e581

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

C++/climbing-stairs.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class Solution {
66
int climbStairs(int n) {
77
vector<vector<int>> T = {{1, 1},
88
{1, 0}};
9-
109
return matrixExpo(T, n)[0][0];
1110
}
1211

0 commit comments

Comments
 (0)