Summer Sale
Limited Time Deal: Unlock all premium questions for over 30% off
$10.42$7.08
14
:
03
:
44
:
06
Back to Dashboard
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).
...
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.