Calculate a Dasher's Active Time

Calculate a Dasher's Active Time

You are given a chronologically ordered sequence of events for a Dasher during a single day. Each event contains a timestamp and an action:

  • pickup: the Da...

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: