Intellias Interview Question

(livecode): merging overlapping time ranges in Python