How Many Riders Before Two Share a Pickup Zone

Last updated: November 29, 2026

Quick Overview

A city is split into 200 equally likely pickup zones. How many independent ride requests are needed before the probability that two come from the same zone exceeds 50%?

Uber
Statistics & Math
Data Scientist
Uber
November 29, 2026
Data Scientist
Technical Screen
Statistics & Math
Medium

0

0

0 solved


A city is split into 200 equally likely pickup zones. How many independent ride requests are needed before the probability that two come from the same zone exceeds 50%?

This is the birthday problem reframed in Uber's geospatial language, common in data science and quant-flavored screens. The interviewer checks the complement trick, a good approximation, and whether you question the uniformity assumption.

What the Interviewer Expects
  • Use the complement: probability all zones are distinct
  • Write the product formula
  • Approximate with the exponential trick to get about sqrt(2N ln 2)
  • Get the exact answer (17)
  • Note that non-uniform zones make collisions come sooner
Key Topics to Cover
birthday problem
complement rule
approximation
coupon collector
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 does the answer change if zones are not equally likely?
  • What is the expected number of distinct zones after n requests?
  • How many requests until every zone has at least one request?
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

Assume each request lands in one of N=200N = 200 zones uniformly at random and independently....

Approach

P(no shared zone among n)=∏i=0n−1(1−iN)P(\text{no shared zone among } n) = \prod_{i=0}^{n-1}\left(1 - \dfrac{i}{N}\right)

Using 1−x≈e−x1 - x \approx e^{-x}:

∏≈exp⁡(−n(n−1)2N)\prod \approx \exp\left(-\dfrac{n(n-1)}{2N}\right)

Set this to 1/21/2: $n(n-1) \a...


Submit Your Answer
Markdown supported