Software Engineer • Senior-Level
Software Engineer • Senior-Level
High QualityPractice Other Questions that DoorDash Asked
Continue with targeted prep from DoorDash's coding question bank and system design questions.
Interview Summary
The technical interviews covered Dasher payment calculations, an AI-assisted refund workflow engine, payment system design, and load balancer debugging with consistent hashing. The hiring manager round focused on engineering values, project ownership, and practical experience with AI tools
Interview Details
Round 1 — Code Craft Phone Screen: Dasher Pay Calculation (60 Minutes)
The first round involved calculating a delivery driver's earnings from a stream of order events. You are given a collection of events describing a Dasher's activity throughout the day. Each event contains:
order_id: The order associated with the event.dasher_id: The driver handling the order.timestamp: When the event occurred.status: An order status such asACCEPTED,FULFILLED, orCANCELED.
The goal is to calculate the Dasher's total earnings. Pay accumulates based on the number of active orders and the duration for which those orders remain active. When a Dasher handles multiple orders simultaneously, the calculation must account for concurrent active orders.
Requirements Clarification
The problem was intentionally open-ended, so I needed to clarify several details before implementing the solution. The discussion included:
- How earnings should be calculated when multiple orders are active simultaneously.
- Whether canceled orders should still receive payment for the time they were active.
- Whether the input events are guaranteed to be sorted chronologically.
- What input and output formats the implementation should support.
Clarifying these rules was an important part of the exercise.
-
Follow-Up 1 — Peak-Hour Pay Multiplier
The interviewer introduced a peak-hour compensation rule. During a specified time window, the Dasher earns twice the normal rate. For example, a peak period could run from 4:00 PM to 6:00 PM. The calculation must account for orders that begin before the peak period or finish after it.
-
Follow-Up 2 — Production Service Design
After the coding exercise, the interviewer asked how I would turn the batch-processing implementation into a live production service. The discussion shifted toward continuously processing incoming delivery events rather than calculating earnings from a fixed dataset.
-
Follow-Up 3 — Upstream API Failures
The interviewer also asked how the service should handle failures when communicating with upstream APIs. The discussion covered:
- Retry strategies using exponential backoff with jitter.
- Circuit breakers for repeated service failures.
- Idempotency to prevent duplicate operations when requests are retried.
Round 2 — AI Code Craft: Refund Workflow Engine
The first onsite round was an AI-assisted coding exercise. I used my own laptop and AI-enabled editor while sharing my screen. The code was provided and collected through HackerRank. Implement a workflow engine that automatically processes refunds for delayed or timed-out orders.
The interviewer provided starter code defining a directed acyclic graph (DAG) of workflow nodes. Each node represents an operation within the refund process. The workflow engine must traverse the graph and execute the appropriate nodes based on the outcomes of previous operations.
Core Requirements
The workflow contained
Unlock Full Details
Create a free account to unlock this interview experience report.