AI & Technical question
Imagine that you are a product manager at Google Maps and you wish to integrate with DoorDash so that users can order delivery. Your task is to design the API.
- Stripe
- AI & Technical
- Hard
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Technical API design thinking: defining a clean integration contract between two products with different data models.
How to approach it
- Define the core use case: a Maps user requests delivery of a specific item to their current or a chosen location.
- Specify the API surface, such as endpoints for checking DoorDash availability at a location, initiating an order, and tracking status.
- Address data exchange, like passing store, item, and location data from Maps to DoorDash and order status back.
- Consider failure and edge cases, such as store closed, item unavailable, or delivery area not covered.
- Define success metrics, such as order completion rate initiated from Maps and API latency for availability checks.
What a strong answer includes
- Designs a clear request and response contract, specifying what data flows each direction rather than a vague integrate them statement.
- Addresses real failure modes, like unavailable items or out of range delivery, showing systems thinking beyond the happy path.
- Names concrete metrics like order completion rate and API latency to judge integration quality.
Common mistakes
- Designing only the happy path without handling store closures or delivery area limits.
- Ignoring how authentication and payment would be handled across the two systems.
Likely follow-up questions
- How would you handle authentication between the two systems?
- How would you version this API as requirements change?
More ai & technical questions
- How does the system design for Strava work?Google · AI & Technical · Hard
- How will you design a web service that enables other developers to create online chat applications?Microsoft · AI & Technical · Hard
- What are the technologies used for development of a streaming service app?Ask Media · AI & Technical · Easy
- Design a Shopify checkout system.Shopify · AI & Technical · Hard
- How do you design an API?Google · AI & Technical · Easy
- Design the security for a chat/messaging application.Microsoft · AI & Technical · Hard
More questions from Stripe
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture