InterviewDB Experience

Car Average Speeds: Compute Average Speed Accounting for Stop Segments in a Trip Log

Interview Experience

Problem You are given a trip log as a list of (timestamp, odometer_reading) tuples recorded at irregular intervals. Compute the average speed of the car, excluding periods when the car was stationary (speed = 0). Example: Follow-ups What is the threshold to distinguish a brief slowdown from a genuine stop? How would you identify and report distinct stop locations along the route? If timestamps have GPS drift (jitter of +/-2 s), how does that affect speed calculation? How would you extend this to…

Full Details

🔒

Unlock all Waymo questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a candidate experience report from a waymo interview during the phone round.

It covers the following topics: Coding, Phone .