Party Time Duration Analysis

Given a schedule of multiple parties (each with a start time and end time), and the location information for each party (town, city, state, etc.).

  1. For each town, calculate the total hours that are...

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: