练习

interval问题

Intervals合并,inplace的话,直接在当前位置合并,然后Index ++ 反正最后结果一定小于当前arr,不会覆盖原数组。

https://www.geeksforgeeks.org/merging-intervals/

Last updated