Ride Earnings Calculator
DoorDash interview questions · Hard · Coding round · 6 tests
Parse a raw event log of ride starts/cancels/completions into active-time windows, then apply bonus-period doubling to compute total earnings - cancelled rides earn nothing.
The full question, tests and reference solution are available with a plan that includes DoorDash.
Run your code with Ctrl+Enter to see results.