Probability Two Pool Requests Arrive Close Enough to Match

Last updated: November 29, 2026

Quick Overview

Two riders on the same corridor each request a shared ride at a uniformly random time within the same hour. They can be pooled if their requests are within 10 minutes of each other. What is the probability they can be matched?

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

0

0

0 solved


Two riders on the same corridor each request a shared ride at a uniformly random time within the same hour. They can be pooled if their requests are within 10 minutes of each other. What is the probability they can be matched?

Shared rides (UberX Share) depend on requests arriving close together, and this geometric probability question tests whether you can map it to the unit square. The interviewer also asks how it scales with more riders.

What the Interviewer Expects
  • Model the two times as uniform on a square
  • Identify the matching region as a band around the diagonal
  • Compute area via the complement triangles
  • Generalize to window length w and hour length T
  • Discuss how adding riders increases match chances
Key Topics to Cover
geometric probability
uniform distribution
complement
pooling
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 if the matching window is 5 minutes?
  • With n riders in the hour, what is the chance at least one pair can be pooled?
  • How does non-uniform demand within the hour change it?
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

Times X,Y∼U(0,60)X, Y \sim U(0, 60) independently. Match if ∣X−Y∣≤10|X - Y| \le 10....

Approach

Plot (X,Y)(X, Y) in a 60×6060 \times 60 square. The no-match region is two right triangles in the corners, where ∣X−Y∣>10|X - Y| > 10. Each has legs of length 60−10=5060 - 10 = 50....


Submit Your Answer
Markdown supported