NewThe Learning module is now liveSee what's new

Implement a payment model for delivery dashers. The payment is based on the time spent on each order and the number of concurrent deliveries. Given a sequence of order activities for a dasher within a single day, calculate the total pay according to the following rules:

Test Cases
Input
Output
Expected