HardDesign: Ride-Sharing Service (Uber/Lyft)
What Redis data structure is used to store driver locations by geographic cell?
— Tests your understanding of this concept.
Answer Options
AString
BList
CHash (geohash key → driver data)
DSet
Want to see the correct answer?
Get the answer with a detailed explanation, plus practice 22+ more Design: Ride-Sharing Service (Uber/Lyft) questions with adaptive quizzes and timed interviews.
See the Answer on Guru Sishya →This question is from the Design: Ride-Sharing Service (Uber/Lyft) topic (System Design Cases).
More Design: Ride-Sharing Service (Uber/Lyft) Questions
Why is Euclidean (straight-line) distance insufficient for ETA calculation in a ride-sharing app?
HardWhy must neighboring geohash cells also be queried when searching for nearby drivers?
HardA driver's phone GPS has a 30-second outage. What happens to ongoing trip tracking?
HardHow does surge pricing work and how do you ensure it's fair to riders?
HardThe system matches 10 drivers to the same rider request due to a bug. How do you prevent this?
Hard