Yelp interview question

Very simple time overlapping question. Solved in time