Calculate Dasher Pay With Cancellations and Double-Pay Windows

Problem: Calculate Dasher Pay (Cancellations + Double-Pay Windows)

Given a list of delivery order records for a Dasher and a list of double-pay time windows, compute the Dasher’s total payout....

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: