We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93d3af8 commit a5e814fCopy full SHA for a5e814f
Python/merge-intervals.py
@@ -1,4 +1,4 @@
1
-# Time: O(n^2)
+# Time: O(nlogn)
2
# Space: O(1)
3
#
4
# Given a collection of intervals, merge all overlapping intervals.
0 commit comments