We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab013c commit 469e581Copy full SHA for 469e581
C++/climbing-stairs.cpp
@@ -6,7 +6,6 @@ class Solution {
6
int climbStairs(int n) {
7
vector<vector<int>> T = {{1, 1},
8
{1, 0}};
9
-
10
return matrixExpo(T, n)[0][0];
11
}
12
0 commit comments