PracHub
QuestionsCoachesLearningGuidesInterview Prep
|Home/Software Engineering Fundamentals/Jane Street

Which Dice Game Wins More Often: One Six in 4 Rolls, or Double Sixes in 24 Rolls?

Last updated: Jul 2, 2026

Which Dice Game Wins More Often: One Six in 4 Rolls, or Double Sixes in 24 Rolls?

Company: Jane Street

Role: Data Scientist

Category: Software Engineering Fundamentals

Difficulty: medium

Interview Round: Onsite

You are offered two dice games and asked to decide which one gives you a better chance of winning. - **Game 1:** Roll one fair six-sided die 4 times. You win if at least one roll shows a 6. - **Game 2:** Roll a pair of fair six-sided dice 24 times. You win if at least one of the 24 rolls shows double sixes — both dice landing on 6 on the same roll. Which game has the higher probability of winning? Justify your answer with a calculation. This is a phone-screen question, so be prepared to reason through the comparison out loud, ideally without relying on a calculator. ```hint Complement rule "At least one success" is hard to compute directly. Use $P(\text{at least one}) = 1 - P(\text{zero successes})$: find the per-roll failure probability, then raise it to the number of rolls (rolls are independent). ``` ```hint Comparing without a calculator You need to compare $(5/6)^4$ with $(35/36)^{24}$. Notice $(35/36)^{24} = \left((35/36)^6\right)^4$, so it suffices to compare $(35/36)^6$ with $5/6$. Bernoulli's inequality $(1-x)^n \ge 1 - nx$ settles that comparison cleanly. ``` ```hint Why intuition misleads The expected number of successes is $4 \cdot \tfrac{1}{6} = \tfrac{2}{3}$ in Game 1 and $24 \cdot \tfrac{1}{36} = \tfrac{2}{3}$ in Game 2 — identical. Equal expected counts do **not** imply equal probabilities of "at least one." Think about what happens to $1-(1-p)^{c/p}$ as $p$ shrinks with $c$ fixed. ``` ### Constraints & Assumptions - All dice are fair: each face of each die has probability $1/6$. - All rolls are independent, and the two dice within a roll of Game 2 are independent. - Game 1 uses exactly 4 rolls; Game 2 uses exactly 24 rolls. - Winning means at least one success — extra successes beyond the first don't matter. - In Game 2, a success is both dice showing 6 on the *same* roll (probability $1/36$ per roll). ### Clarifying Questions to Ask - Are the dice fair, and are all rolls independent of one another? - In Game 2, does "(6,6)" mean both dice show a 6 on the same roll, i.e., one event with probability $1/36$ per roll? - Is the win condition purely "at least one success," with no bonus for multiple successes? - Are we comparing only the probabilities of winning, or is there also a payout/stake difference between the games? - Am I expected to produce exact numbers, or is a rigorous inequality argument for which probability is larger sufficient? ### What a Strong Answer Covers - **Correct setup via the complement:** translating "at least one" into $1 - (\text{failure prob})^{n}$ with the right per-roll failure probabilities ($5/6$ and $35/36$). - **A correct comparison:** either accurate numeric evaluation of both probabilities, or a clean analytic argument (e.g., Bernoulli's inequality) proving which is larger without a calculator. - **Intuition for the result:** articulating why the naive "equal expected number of successes" argument fails — the at-least-one probability is not linear in the number of trials. - **Communication under phone-screen conditions:** stating assumptions, walking through arithmetic clearly, and sanity-checking the final numbers (both should be near $1/2$). ### Follow-up Questions - What is the minimum number of rolls of a single die needed for the probability of seeing at least one 6 to exceed $1/2$? What about the minimum number of rolls of a pair of dice for at least one double six? - Fix the expected number of successes at $c = np$ and let $p \to 0$. What does the probability of at least one success converge to, and why? - Which is more likely: at least one 6 in 6 rolls of a die, or at least two 6s in 12 rolls? How would you set up that comparison? - How would your answer change if the win condition were "exactly one success" instead of "at least one"?

Related Interview Questions

  • Alternating Die-Roll Game: Optimal Accept/Reject Strategy - Jane Street (hard)
  • Turning Interview Code into a Reusable Library or API - Jane Street (medium)
  • Build a Web Calculator That Matches a Reference App - Jane Street (medium)
  • Five Pumpkins Weighed in Every Pair: Find the Total Weight - Jane Street (medium)
|Home/Software Engineering Fundamentals/Jane Street

Which Dice Game Wins More Often: One Six in 4 Rolls, or Double Sixes in 24 Rolls?

Jane Street logo
Jane Street
Aug 28, 2025, 12:00 AM
mediumData ScientistOnsiteSoftware Engineering Fundamentals
0
0

You are offered two dice games and asked to decide which one gives you a better chance of winning.

  • Game 1: Roll one fair six-sided die 4 times. You win if at least one roll shows a 6.
  • Game 2: Roll a pair of fair six-sided dice 24 times. You win if at least one of the 24 rolls shows double sixes — both dice landing on 6 on the same roll.

Which game has the higher probability of winning? Justify your answer with a calculation. This is a phone-screen question, so be prepared to reason through the comparison out loud, ideally without relying on a calculator.

Constraints & Assumptions

  • All dice are fair: each face of each die has probability 1/61/61/6 .
  • All rolls are independent, and the two dice within a roll of Game 2 are independent.
  • Game 1 uses exactly 4 rolls; Game 2 uses exactly 24 rolls.
  • Winning means at least one success — extra successes beyond the first don't matter.
  • In Game 2, a success is both dice showing 6 on the same roll (probability 1/361/361/36 per roll).

Clarifying Questions to Ask

  • Are the dice fair, and are all rolls independent of one another?
  • In Game 2, does "(6,6)" mean both dice show a 6 on the same roll, i.e., one event with probability 1/361/361/36 per roll?
  • Is the win condition purely "at least one success," with no bonus for multiple successes?
  • Are we comparing only the probabilities of winning, or is there also a payout/stake difference between the games?
  • Am I expected to produce exact numbers, or is a rigorous inequality argument for which probability is larger sufficient?

What a Strong Answer Covers

  • Correct setup via the complement: translating "at least one" into 1−(failure prob)n1 - (\text{failure prob})^{n}1−(failure prob)n with the right per-roll failure probabilities ( 5/65/65/6 and 35/3635/3635/36 ).
  • A correct comparison: either accurate numeric evaluation of both probabilities, or a clean analytic argument (e.g., Bernoulli's inequality) proving which is larger without a calculator.
  • Intuition for the result: articulating why the naive "equal expected number of successes" argument fails — the at-least-one probability is not linear in the number of trials.
  • Communication under phone-screen conditions: stating assumptions, walking through arithmetic clearly, and sanity-checking the final numbers (both should be near 1/21/21/2 ).

Follow-up Questions

  • What is the minimum number of rolls of a single die needed for the probability of seeing at least one 6 to exceed 1/21/21/2 ? What about the minimum number of rolls of a pair of dice for at least one double six?
  • Fix the expected number of successes at c=npc = npc=np and let p→0p \to 0p→0 . What does the probability of at least one success converge to, and why?
  • Which is more likely: at least one 6 in 6 rolls of a die, or at least two 6s in 12 rolls? How would you set up that comparison?
  • How would your answer change if the win condition were "exactly one success" instead of "at least one"?
Loading comments...

Browse More Questions

More Software Engineering Fundamentals•More Jane Street•More Data Scientist•Jane Street Data Scientist•Jane Street Software Engineering Fundamentals•Data Scientist Software Engineering Fundamentals

Write your answer

Your first approved answer each day earns 20 XP.

Sign in to write your answer.
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
  • AI Coding 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.