Cisco interview question

Merge Interval