Meta Interview Question

Leetcode medium difficulty problem about intervals.