Optimal Stopping When Rolling a Die for Cashback

Last updated: November 29, 2026

Quick Overview

A promotion lets you roll a fair die up to three times, and you receive cashback in dollars equal to your final roll. You may stop after any roll. What strategy maximizes expected cashback, and what is the expected value?

Capital One
Statistics & Math
Data Scientist
Capital One
November 29, 2026
Data Scientist
Online Assessment
Statistics & Math
Medium

0

0

0 solved


A promotion lets you roll a fair die up to three times, and you receive cashback in dollars equal to your final roll. You may stop after any roll. What strategy maximizes expected cashback, and what is the expected value?

A backward-induction question in the style of Capital One's probability screens, with a rewards framing. The interviewer checks that you solve from the last roll backward and compare each roll against a continuation value, rather than using a fixed threshold.

What the Interviewer Expects
  • Solve the problem from the last roll backward
  • Compute the continuation value with one roll left (3.5)
  • Derive the threshold with two rolls left (4.25)
  • Find the full strategy and expected value 14/3
  • Generalize to n rolls and explain diminishing gains
Key Topics to Cover
optimal stopping
backward induction
dynamic programming
expected value
threshold strategies
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 is the expected value with unlimited rolls but a 0.25 dollar fee per reroll?
  • What if you are paid the maximum roll so far instead of the final roll?
  • How does the strategy change for a 20-sided die?
  • What is the probability of ending with a 6 under the optimal strategy?
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

Up to three rolls, you keep only the final roll, and you decide to stop or continue after seeing each result. Rolls are independent and fair. Goal: maximize expected payout; assume risk neutrality....

Approach

Let VkV_k be the expected payout when kk rolls remain and you play optimally. After seeing a roll xx with k−1k-1 rolls still available, stop if x>Vk−1x>V_{k-1}, otherwise roll again. So


Submit Your Answer
Markdown supported