HubSpot interview question

Scheduling type problem