Yelp interview question

Something like merge intervals. Design an API, etc.