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 d531d5e commit 681a47dCopy full SHA for 681a47d
longest-increasing-subsequence/gitsunmin.ts
@@ -1,6 +1,6 @@
1
/**
2
* https://leetcode.com/problems/longest-increasing-subsequence
3
- * time complexity : O(n)
+ * time complexity : O(n²)
4
* space complexity : O(n)
5
*/
6
function lengthOfLIS(nums: number[]): number {
0 commit comments