Common Restaurant Pickup Order
Asked at DoorDash · Coding Questions · Difficulty: Medium · Last asked Dec 11, 2025
Two delivery routes each visit a list of restaurants in a fixed order. A single courier wants to make one trip that stops only at restaurants on both routes, and visits them in an order that agrees with both routes. Return the longest such list of stops, as the restaurant names themselves, not only their count.
Loading the problem…
More DoorDash interview questions
- AI Code Craft Challenge: Delayed-Delivery Workflow Engine
- ML System Design: Restaurant / Store Recommendation
- Code Craft: Dasher Pay
- Design a 3-Day Donation Service
- Consistent-Hash Order Router with Virtual Nodes
- Experiment Design for a Marketplace Ranking Model