遍历一遍intervals。当前指向的区间结尾 < 新区间开头的,直接放到结果中。
注意这里更新的是newInterval本身
Last updated 4 years ago
Was this helpful?