Compare Winning Chances in a Card Game That Replays Ties
SquarepointData Scientist · Technical ScreenLast updated
Use symmetry and tied-round replay to compare two players drawing cards without replacement and derive the game's eventual winning probabilities.
Two players draw cards from a standard 52-card deck. The first player draws one card uniformly at random, then the second player draws one uniformly from the remaining 51 cards. The player with the higher rank wins.
If both cards have the same rank, return both cards to the deck, shuffle, and repeat until a winner is determined. Does either player have a higher probability of winning?
Constraints and Clarifications
There are 13 ordered ranks with four cards of each rank. Suits do not break ties. After a tied round the full deck is restored, and the next round uses the same random experiment.
Hints
Hint 1
Reverse the two draws: For every ordered pair that makes the first player win, consider the pair obtained by exchanging the cards. Compare the probabilities of those two outcomes.
Follow-up questions
- What is the expected number of rounds until the game ends?
- Why does the first player having 52 possible cards while the second has 51 not by itself imply an advantage?
Solution walkthrough is for members
Get the full walkthrough with reference code and complexity analysis, plus Kitty Coach at 300 messages a day. Hints, the code runner and community answers stay free.