Two numbers, keep the larger
Asked at IMC
Two numbers are drawn independently and uniformly on . The first is shown to you; you may keep it (ending the game) or pass to the second, which you must then keep. You win if the number you keep is the larger of the two.
What threshold policy maximizes your win probability, and what is that probability?
Show a hint
Because you see the actual value, not just a rank, use a threshold: keep the first number if it clears some bar , otherwise pass. Write the win probability as a function of and optimize.
Your answer
This one is open-ended. Work it through, then check your reasoning against the full solution.