Jane Street–styleTrader InternQuant Trader InternQuestion #298

You repeatedly roll a fair six-sided die. After each roll, you add the result to your cumulative score. At any point, you may choose to stop the game and keep your current score. However, if your total score ever becomes a perfect square, you immediately lose and receive zero points. What is the optimal strategy to maximize your expected score?

Build Your Approach

State the assumptions, try a simple case, then work toward a general solution. Check the result and explain how it changes if an assumption changes.

Try the free diagnostic with worked solutions →

Get Free Interview Prep Resources

Practice the Reasoning Behind the Answer

Bring your target roles and interview timeline to a free quant consult. Discuss your preparation priorities and how Quant Blueprint’s lessons, practice and mock interviews can help.

Book a Free Quant Consult

Your goals · your preparation · your next steps