Fall SalePremium questions, over 25% offUnlock all premium questions for over 25% off
Ride Earnings Calculator
Hard
You are given records, a list of ride events. Each record is a list of three strings: [ride_id, timestamp, status]. Possible statuses are STARTED, CANCELLED, and COMPLETED. Timestamps are integer strings representing minutes.
You are also given bonus_periods, a list of [start, end] integer pairs representing time windows where earnings are doubled, and an integer rate (earnings per minute).
...
Asked at:Doordash
More Doordash interview questions
- Covered Service Zonesmedium
- Wildcard Segment Counterhard
- Code Craft - Driver Payment Systemhard
- Find Menu Changesmedium
- Code Craft - Bootstrap APImedium
- Top 8 Doordash System Design Questions Jan 2026hard
- Find Closest Dashermedium
- Round Robin Load Balancer (Debugging)medium
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.