Yelp Interview Question

The coding problem was about calculating open hours.