Fall SalePremium questions, over 25% offUnlock all premium questions for over 25% off
Location Index
Medium
Implement a LocationIndex class that stores a set of named points on a 2D grid.
The constructor takes three arrays: names (list of location name strings), xs (list of x-coordinates), and ys (list of y-coordinates). Each index i describes one location with name names[i], x-coordinate xs[i], and y-coordinate ys[i].
...
Asked at:Doordash
More Doordash interview questions
- Directory Registryhard
- Ride Earnings Calculatorhard
- Covered Service Zonesmedium
- Wildcard Segment Counterhard
- Code Craft - Driver Payment Systemhard
- Find Menu Changesmedium
- Code Craft - Bootstrap APImedium
- Top 8 Doordash System Design Questions Jan 2026hard
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.