Optimal Strategy for a Dasher Accepting Sequential Offers

Last updated: November 29, 2026

Quick Overview

A Dasher will see up to 3 delivery offers in a session, each paying an amount uniform on $0 to $10, and must accept or decline each immediately. Only one can be accepted, and the last must be taken if reached. What policy maximizes expected pay, and what is the expected value?

DoorDash
Statistics & Math
Data Scientist
DoorDash
November 29, 2026
Data Scientist
Onsite
Statistics & Math
Hard

0

0

0 solved


A Dasher will see up to 3 delivery offers in a session, each paying an amount uniform on $0 to $10, and must accept or decline each immediately. Only one can be accepted, and the last must be taken if reached. What policy maximizes expected pay, and what is the expected value?

DoorDash interviewers sometimes use expected value games set in the Dasher experience to test dynamic programming reasoning. The interviewer checks backward induction, correct integration for the uniform case, and verification by simulation.

What the Interviewer Expects
  • Set up the problem with backward induction
  • Compute E[max(X, v)] for a uniform X
  • Derive the acceptance thresholds for each offer
  • Report the expected value of the optimal policy
  • Verify with simulation and generalize to n offers
Key Topics to Cover
optimal stopping
backward induction
expected value
dynamic programming
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • What happens to the thresholds as the number of offers grows?
  • How would the answer change if declining hurts your acceptance rate?
  • What if offer pay is not uniform but skewed?
  • How does this relate to Dasher behavior DoorDash observes?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Work on a 0 to 1 scale (multiply by $10 at the end). Offers are independent, X∼U(0,1)X \sim U(0,1). Let VnV_n be the expected pay with nn offers left, acting optimally....

Approach

With one offer left, you must take it: V1=E[X]=0.5V_1 = E[X] = 0.5. With nn offers left, accept the current offer xx if x≥Vn−1x \ge V_{n-1}, the value of continuing. So Vn=E[max⁡(X,Vn−1)]V_n = E[\max(X, V_{n-1})].

For uniform ...


Submit Your Answer
Markdown supported