PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Statistics & Math/PayPal

Should you play a dice payout game?

Last updated: Mar 29, 2026

Quick Overview

This question evaluates understanding of probability, expected value, and payoff-driven decision-making by requiring computation of expected return from discrete game outcomes. It is commonly asked to assess quantitative reasoning in the Statistics & Math category and primarily tests conceptual understanding of expected value and probabilistic reasoning rather than practical implementation.

  • easy
  • PayPal
  • Statistics & Math
  • Data Scientist

Should you play a dice payout game?

Company: PayPal

Role: Data Scientist

Category: Statistics & Math

Difficulty: easy

Interview Round: Onsite

Two players each roll a fair six-sided die once. - If **you win** (your roll > opponent’s roll), the opponent pays you **$n**. - If the **opponent wins or it’s a tie** (your roll ≤ opponent’s roll), you pay the opponent **$m**. Assume both dice are fair and independent. ## Questions 1) What is the **expected value** of playing one round as a function of `n` and `m`? 2) For what values of `n` and `m` should you **choose to play**? 3) (Optional) Show a short Python snippet that computes the expected value analytically.

Quick Answer: This question evaluates understanding of probability, expected value, and payoff-driven decision-making by requiring computation of expected return from discrete game outcomes. It is commonly asked to assess quantitative reasoning in the Statistics & Math category and primarily tests conceptual understanding of expected value and probabilistic reasoning rather than practical implementation.

Related Interview Questions

  • Why does the CLT matter? - PayPal (medium)
  • Explain and interpret p-values correctly - PayPal (easy)
  • Interpret p-values and common pitfalls - PayPal (hard)
  • Decide if a dice-betting game is favorable - PayPal (easy)
  • Explain confounding with an Uber example - PayPal (easy)
PayPal logo
PayPal
Nov 3, 2025, 12:00 AM
Data Scientist
Onsite
Statistics & Math
7
0

Two players each roll a fair six-sided die once.

  • If you win (your roll > opponent’s roll), the opponent pays you $n .
  • If the opponent wins or it’s a tie (your roll ≤ opponent’s roll), you pay the opponent $m .

Assume both dice are fair and independent.

Questions

  1. What is the expected value of playing one round as a function of n and m ?
  2. For what values of n and m should you choose to play ?
  3. (Optional) Show a short Python snippet that computes the expected value analytically.

Solution

Show

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...

Browse More Questions

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

Master your tech interviews with 8,000+ 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.