Expected Orders Until Every Delivery Zone Has Been Served
Last updated: November 29, 2026
Quick Overview
A new Amazon delivery station serves n zones, and each incoming order lands in a uniformly random zone. How many orders do you expect before every zone has received at least one, and how spread out is that number?
Amazon
November 29, 20260
0
0 solved
A new Amazon delivery station serves n zones, and each incoming order lands in a uniformly random zone. How many orders do you expect before every zone has received at least one, and how spread out is that number?
A coupon-collector question in the style an Amazon interviewer uses to see whether you can decompose a waiting time into stages. It often comes up for Last Mile or Amazon Logistics analytics roles, where launch readiness depends on every route seeing real volume.
What the Interviewer Expects
- Breaks the wait into stages with geometric waiting times
- Derives $n H_n$ and approximates it as $n \ln n$
- Gives a concrete number for a small n
- Discusses variance or at least that the tail is long
- Validates the formula with a quick simulation
- Questions the uniform-zone assumption
Key Topics to Cover
How to Approach This
- Define your hypotheses (H0 and H1) clearly before performing any test.
- Calculate required sample size BEFORE running an experiment, using power analysis.
- Remember the Central Limit Theorem: sample means become approximately normal with large n.
- Watch for Simpson's paradox. Always segment data by key dimensions.
- Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
- What is the variance of the waiting time?
- How does the answer change if zones receive orders with unequal probabilities?
- How many orders until each zone has at least two orders?
- How would you use this to decide when a station's routing data is mature enough?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Browse Statistics QuestionsSample Answer
Clarify
Orders arrive one at a time, each independently assigned to one of zones with probability . Let be the number of orders until all zones are covered. I want and a sense of its varia...
Approach
Split into stages. Stage starts once distinct zones have been seen and ends when a new zone appears. In stage each order is new with probability , so the stage lengt...