Skip to content

Commit

Permalink
Update 56.merge-intervals.md
Browse files Browse the repository at this point in the history
  • Loading branch information
azl397985856 authored Apr 16, 2020
1 parent fa2e7e4 commit 68bc753
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions problems/56.merge-intervals.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,7 @@ class Solution:

return res
```

***复杂度分析***
- 时间复杂度:由于采用了排序,因此复杂度大概为 $O(NlogN)$
- 空间复杂度:$O(N)$

0 comments on commit 68bc753

Please sign in to comment.