T-Mobile interview question

Merging time interval for schedule a meetimg