Wurl Interview Question

Given an array of time intervals (start, end), merge intervals that overlap