Jane StreetQuant ResearcherQuantitative ResearcherQuestion #394

Given cards numbered from 1 to 9 placed face up and two dice, you repeatedly throw the dice. If the sum is greater than 9, you throw again. If the sum is less than or equal to 9, you have two options: flip down the card with the number equal to the sum, or flip down the two cards corresponding to each die value. For example, if you roll a 3 and a 4, you can flip down the 7, or both the 3 and 4. If the card for the sum is already flipped, you must flip down each die's card if possible; if one of those is already flipped, you must flip the sum (if possible). The game ends when no move is possible, and your score is the number of flipped cards. What is the best strategy?

Unlock the Full Solution

Enter your email to get the detailed step-by-step solution to this Jane Street interview question, plus access to free interview prep resources.

We'll also send you a free HFT mock interview video.

Get All 664+ Jane Street Questions with Solutions

Plus 16+ hours of video lectures, resume tailoring, and 1:1 mentorship from quants.

Schedule a Call