Easy · Intervals · about 10 minutes
Asked at Google, Amazon, Microsoft.
nums[i] = [start, end] is the closed range of integer points covered by car i. Return how many integer points are covered by at least one car.
nums[i] = [start, end]
i