Leetcode, Interval, Interview Questions, Google, Meta.
intervals by start time and for each interval I, if I_start < end time of last interval in the output list, then merge I with the last interval, i.e. set the end time of the last interval = max(end time of the last interval, I_end), else just append I to the final output and make it the last