Yelp Interview Question

Very simple time overlapping question. Solved in time