/* * function Interval(a, b){ * this.start = a || 0; * this.end = b || 0; * } * [a,b][c,d] * b<c [a,b][c,d] * d<b [a,b] * b<d [a,d] * */ /** * * @param intervals Interval类一维数组 * @return Interval类一维数组 */ function merge( intervals ) { // write code here intervals.sort((a,b) => a.start - b....