Snap interview question

Merge intervals and find missing one