New
The Learning module is now live
See what's new
×
Question Bank
Learning
NEW
Pricing
Blog
Forum
HOT
JobRadar
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
DoorDash
Coding Question
AI Insights
Quick Summary
Simulate a dasher's daily workflow using a sequence of timestamped order events.
Track the number of concurrent active deliveries to determine the pay multiplier for each time interval.
Calculate total earnings by multiplying interval duration, active order count, and a fixed base rate.
What This Tests
Event-driven timeline simulation
Time parsing and interval arithmetic
State tracking with counters or sets
Chronological data processing
Common Patterns
Sorting
Hashing
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.7-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected