Your question is Design a Delivery Pickup Ranker. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
You are building a system that helps delivery executives decide which restaurant orders to collect while moving along a straight road. The system should recommend the next best pickup choices as new orders arrive and conditions change.
Design a solution for delivery executives navigating a 1D road to collect orders from restaurants.