Skip to content

Commit

Permalink
Create quant.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagesh19 authored Jun 16, 2024
1 parent 2fa4719 commit e6f5f8c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions problem-of-the-day/day19/quant.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
A dealer at a casino holds a game that is played as
follows: The player first pays $d to the dealer, where d
is some positive integer less than 100. The dealer then
intends to flip a coin d times. If at any point two
consecutive heads are flipped, then the dealer stops
flipping the coin, and the player wins and is awarded
$100. Otherwise, the player loses (and is awarded
nothing). A player pays the dealer $29. The dealer
weights the coin before flipping it, changing the
probability of flipping heads such that the player's
expected net profit is non-positive. The player is not
aware of this re-weighing. Find the maximum
probability that the dealer should choose.

0 comments on commit e6f5f8c

Please sign in to comment.