Counting Ways to Split Six Eats Orders Among Three Couriers
Last updated: November 29, 2026
Quick Overview
Six distinct Uber Eats orders must be assigned to three distinct couriers so that every courier gets at least one order. How many assignments are possible, and how does the count change if each courier can carry at most two?
Uber
November 29, 20260
0
0 solved
Six distinct Uber Eats orders must be assigned to three distinct couriers so that every courier gets at least one order. How many assignments are possible, and how does the count change if each courier can carry at most two?
Batching and assignment counts show up in Uber's online assessments and help reason about the size of a dispatch search space. The interviewer checks inclusion-exclusion and multinomial counting.
What the Interviewer Expects
- Count unrestricted assignments as 3^6
- Apply inclusion-exclusion to require non-empty couriers
- Use the multinomial coefficient for the at-most-two case
- Distinguish distinct versus identical couriers (Stirling numbers)
- Relate the count to search space growth
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
- How many if couriers are interchangeable?
- How many if the pickup order within a courier's route also matters?
- How does this grow with 20 orders and 6 couriers?
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 are distinct (different restaurants and eaters), couriers are distinct people, and order within a courier's bag does not matter for now....
Approach
Unrestricted: each of 6 orders chooses one of 3 couriers, . Subtract assignments where some courier gets nothing using inclusion-exclusion over the set of empty couriers:
$#\text{onto} = ...