PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCoaches
|Home/Statistics & Math/Waymo

Compute probability match lasts 5 games

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of discrete probability, sequential best-of-n match modeling, Monte Carlo simulation for probability estimation, and interval estimation for proportions.

  • easy
  • Waymo
  • Statistics & Math
  • Data Scientist

Compute probability match lasts 5 games

Company: Waymo

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Technical Screen

Two players play independent games of table tennis. - Player A wins each game with probability \(p\) (constant across games). - They play a **best-of-5** match (first to 3 wins). - Let \(X\) be the **number of games played** until the match ends (so \(X\in\{3,4,5\}\)). ### Tasks 1) Compute \(\theta = \Pr(X=5)\). 2) Write a simulation (Monte Carlo) approach to estimate \(\theta\). 3) Follow-up: given \(M\) simulated matches, how would you build a **confidence interval** for \(\theta\)?

Quick Answer: This question evaluates understanding of discrete probability, sequential best-of-n match modeling, Monte Carlo simulation for probability estimation, and interval estimation for proportions.

Related Interview Questions

  • Assess Routing Experiment Validity - Waymo (medium)
  • How compare Waymo turning trajectories statistically - Waymo (easy)
  • Model wins-until-failure and expected future wins - Waymo (easy)
  • Estimate total attendance from size-biased reservation sample - Waymo (easy)
Waymo logo
Waymo
Nov 11, 2025, 12:00 AM
Data Scientist
Technical Screen
Statistics & Math
10
0

Two players play independent games of table tennis.

  • Player A wins each game with probability ppp (constant across games).
  • They play a best-of-5 match (first to 3 wins).
  • Let XXX be the number of games played until the match ends (so X∈{3,4,5}X\in\{3,4,5\}X∈{3,4,5} ).

Tasks

  1. Compute θ=Pr⁡(X=5)\theta = \Pr(X=5)θ=Pr(X=5) .
  2. Write a simulation (Monte Carlo) approach to estimate θ\thetaθ .
  3. Follow-up: given MMM simulated matches, how would you build a confidence interval for θ\thetaθ ?

Solution

Show

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Statistics & Math•More Waymo•More Data Scientist•Waymo Data Scientist•Waymo Statistics & Math•Data Scientist Statistics & Math
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.