Delivery Billing System with Historical Rates

Implement a delivery-platform billing system with the following operations:

  • add_driver(driver_id, usd_hourly_rate_per_delivery): add a driver with an initial hourly per-delivery rate.
  • `record_d...

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: