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 0363257 commit f5536b5Copy full SHA for f5536b5
climbing-stairs/kimyoung.js
@@ -8,4 +8,5 @@ var climbStairs = function (n) {
8
return n === 1 ? 1 : arr[n];
9
};
10
11
-// time - O(n) iterate up to n times
+// time - O(n) iterate up to n times
12
+// space - O(n) creates an array upto n elements
0 commit comments