LinkedIn interview question

Leetcode Easy: Merge sorted intervals