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
Statistics & Math
Software Engineer
Uber
November 29, 2026
Software Engineer
Online Assessment
Statistics & Math
Medium

0

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
combinatorics
inclusion-exclusion
multinomial coefficients
Stirling numbers
surjections
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
  • 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 Questions
Sample 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, 36=7293^6 = 729. Subtract assignments where some courier gets nothing using inclusion-exclusion over the set of empty couriers:

$#\text{onto} = ...


Submit Your Answer
Markdown supported