MediumThe difficulty is Medium, because the solution involves multiple layers of complexity, including calculating time differences, categorizing deliveries based on conditions, and aggregating results on a monthly basis. Additionally, the task requires careful handling of data types and null values, as well as a thorough grouping and percentage calculation logic across different programming languages.
ID 2113
0
To remain competitive, the company you work with must reduce the number of extremely late deliveries.
This question is part of a paid planUnlock the full question bank, official solutions and other users’ approaches.Unlock this question5-day money-back guarantee · Cancel anytime
delivery_id:textorder_placed_time:timestamp without time zonepredicted_delivery_time:timestamp without time zoneactual_delivery_time:timestamp without time zonedelivery_rating:double precisiondriver_id:textrestaurant_id:textconsumer_id:text