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 e797bdc commit 04337e9Copy full SHA for 04337e9
56. Merge Intervals.md
@@ -46,6 +46,8 @@ class Solution {
46
```
47
48
## java solution with less coding
49
+- 关键是sort 整个array, 然后比较previous interval's end and current interval's start
50
+- 反证法 证明这种algo 总能得到最优解
51
52
class Solution {
53
public int[][] merge(int[][] intervals) {
0 commit comments