Impact Analytics Interview Question

Merge intervals leetcode medium question