Snap Interview Question

Merge intervals and find missing one