Almug Interview Question

3rd round--Merge Intervals