The swap duel with dice
You and an opponent each secretly roll a fair die (independent rolls). You see yours. You may keep it or reroll once, in which case you must keep the new face. The opponent never rerolls. Higher face wins; a tie counts as a loss for you.
What is your optimal reroll rule, and what is your probability of winning?
Your answer
Solving needs a free account
Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.
Discussion
Sign in to join the discussion Β· reading is open to everyone
π‘ Discussion rules
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussionβ¦
Learn the concepts
The theory behind this question.
Related questions
Fair value of a die game with one rerollA die game with two rerollsReroll on a twenty-sided dieA reroll that costs a dollarPaid the square of your die roll
All questions β