All you can ask the ride-hailing API is whether a point is inside a surge area. Given a rider's position, tell them where to walk to get out — then make it scale without taking the API down.
All you can ask the ride-hailing API is whether a point is inside a surge area. Given a rider's position, tell them where to walk to get out — then make it scale without taking the API down.
Unlock the full question and reference solution
One-time unlock. Yours forever.
Or get a for every question, unlimited code runs and AI mock interviews.
Be the first to discuss this question
Approaches, follow-up questions and how the interview went. Unlock the question to read and join the discussion.