Pergunta de entrevista da empresa Yelp

The coding problem was about calculating open hours.