[[10, 20], [15, 25], [30, 40], [35, 50]]
[[10,25],[30,50]]
[[1,2],[3,4],[5,6],[7,8]]
1 intervals[i].length == 20