Merge Weekly Time Intervals

Given n time intervals. Each endpoint is represented as weekday HH:MM:SS, where the weekday is one of Mon, Tue, Wed, Thu, Fri, Sat, or Sun. A week starts at Mon 00:00:00 and ends a...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: