Pickup Request Scheduler (OO Design)

Asked at Waymo · Coding Questions · Difficulty: Easy · Last asked Jan 29, 2026

Build a small dispatch simulator: a single car serves pickup requests one after another, strictly in the order they arrive, and you report how long it takes to serve all of them. Travel time between two points is given by a function you receive.

Loading the problem…