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.
2 parents cc52dc1 + 68bc753 commit 893667dCopy full SHA for 893667d
problems/56.merge-intervals.md
@@ -94,3 +94,7 @@ class Solution:
94
95
return res
96
```
97
+
98
+***复杂度分析***
99
+- 时间复杂度:由于采用了排序,因此复杂度大概为 $O(NlogN)$
100
+- 空间复杂度:$O(N)$
0 commit comments