leetcode

986. Interval List Intersections

Solution

Time complexity: O(n)

Space complexity: O(1)