Intervals: merge overlapping ranges — Python practice — Live Code Tutor