Skip to content
LeetQuant
QT10 Quant Trading Interview Preparation

QT10 · Quant Trading Interview Preparation · Lesson 3 of 4

Multi-Part Interview Problems

Three problems that start simple and change one constraint at a time: a die game with rerolls and fees, pricing a series contract as games are played, and a simultaneous-move game.

20 min

How follow-ups are built

Many trading interviews are one problem with four or five stages. The first stage is easy on purpose; each follow-up changes one constraint, and the interviewer watches whether you reuse what you have already built or start from scratch. The objective of this lesson is to practise that reuse on three problems.

Habits that help:

  • Name the state and the value function in the first stage, even if it is overkill there. "Let VV be the value of the game before rolling" makes every later stage a small change to one equation.
  • Say what the change affects. A fee changes the continuation value, so it moves the threshold. A new game result changes the state, not the model.
  • Check each stage against the previous one. Adding an option can only raise the value; adding a fee can only lower it; prices before and after new information must average correctly.
  • Expect "make a market" at the end. Have the fair value and a sense of the spread (standard deviation, who controls the decisions) ready.

Worked example

an eight-sided die, with rerolls, fees and a market

You roll a fair eight-sided die (faces 1 to 8) and are paid the face value.

  • (a) What is the game worth?
  • (b) After seeing the roll you may reroll once and take the second result. What is it worth now, and when do you reroll?
  • (c) The reroll now costs 1. Value and strategy?
  • (d) You may reroll as many times as you like, paying 1 each time. Value?
  • (e) Make a market in game (c). The interviewer then quotes you 5.10 bid, 5.30 offer. What do you do?
Show solution

(a) E[X]=1+82=4.5\mathbb E[X] = \tfrac{1 + 8}{2} = 4.5.

(b) A reroll is worth 4.5, so keep any face above 4.5 and reroll 1 to 4. The value is 48⋅4.5+48⋅5+6+7+84=2.25+3.25=5.5.\tfrac48 \cdot 4.5 + \tfrac48 \cdot \tfrac{5+6+7+8}{4} = 2.25 + 3.25 = 5.5 . Check: the option to reroll raised the value from 4.5, as it must.

(c) The fee lowers the continuation value to 4.5−1=3.54.5 - 1 = 3.5, so the threshold moves: keep 4 to 8, reroll 1 to 3. 38⋅3.5+58⋅4+5+6+7+85=1.3125+3.75=8116=5.0625.\tfrac38 \cdot 3.5 + \tfrac58 \cdot \tfrac{4+5+6+7+8}{5} = 1.3125 + 3.75 = \tfrac{81}{16} = 5.0625 . Check: between (a) and (b), as a costly option should be.

(d) Let VV be the value before a roll. You reroll whenever the face is below V−1V - 1, so V=E[max⁡(X,V−1)]V = \mathbb E[\max(X, V - 1)]. Guess that you keep 5 to 8: V=(5+6+7+8)+4(V−1)8  ⟹  8V=22+4V  ⟹  V=5.5.V = \frac{(5+6+7+8) + 4(V - 1)}{8} \implies 8V = 22 + 4V \implies V = 5.5 . Consistency: V−1=4.5V - 1 = 4.5, so you do keep exactly 5 to 8. The guess "keep 4 to 8" gives V=5.4V = 5.4 and "keep 6 to 8" gives V≈5.33V \approx 5.33, both lower, confirming the optimum. It is a coincidence of these numbers that unlimited paid rerolls are worth the same as one free reroll.

(e) Fair value is 5.0625. For width, the payoff in (c) ranges from 0 (reroll, then roll a 1) to 8, with standard deviation 1199/256≈2.16\sqrt{1199/256} \approx 2.16, so a market such as 4.80 bid, 5.30 offer is reasonable for one lot. Worth saying: the buyer of the game controls the reroll decision, so price it on optimal play; a buyer who also rerolls 4s gets 48⋅3.5+48⋅6.5=5.00\tfrac48 \cdot 3.5 + \tfrac48 \cdot 6.5 = 5.00, so misplaying costs them about 0.06.

Against the interviewer's 5.10 bid, 5.30 offer: their bid is above fair value, so sell at 5.10, an edge of about 0.04 per game. Their offer is above fair, so do not buy. If their market had straddled 5.06, say 5.00 to 5.20, the right answer is to do nothing.

Worked example

pricing a series contract as games are played

Team A wins each game independently with probability 0.6.

  • (a) What is the probability that A wins a best-of-three series?
  • (b) A best-of-five series?
  • (c) A contract pays 100 if A wins the best-of-five. Price it before the series, after A wins game 1, and after A loses game 1.
  • (d) Price a contract paying 100 if the series goes to a fifth game.
  • (e) Before the series you are shown 70 bid, 72 offer on the contract in (c). Trade?
Show solution

(a) A wins 2–0 with probability 0.62=0.360.6^2 = 0.36, or 2–1 (losing exactly one of the first two, then winning the third) with probability 2⋅0.62⋅0.4=0.2882 \cdot 0.6^2 \cdot 0.4 = 0.288. Total 0.648.

(b) A needs 3 wins before 3 losses. Winning in 3, 4 or 5 games with the last game a win: 0.63(1+3(0.4)+6(0.4)2)=0.216×3.16=0.68256.0.6^3\big(1 + 3(0.4) + 6(0.4)^2\big) = 0.216 \times 3.16 = 0.68256 . The longer series helps the stronger team, as it should.

(c) Before: 68.26. After a win, A needs 2 wins before 3 losses: 0.62(1+2(0.4)+3(0.4)2)=0.36×2.28=0.82080.6^2(1 + 2(0.4) + 3(0.4)^2) = 0.36 \times 2.28 = 0.8208, so 82.08. After a loss, A needs 3 wins before 2 losses: 0.63(1+3(0.4))=0.216×2.2=0.47520.6^3(1 + 3(0.4)) = 0.216 \times 2.2 = 0.4752, so 47.52.

Check: 0.6×82.08+0.4×47.52=49.248+19.008=68.2560.6 \times 82.08 + 0.4 \times 47.52 = 49.248 + 19.008 = 68.256. Today's fair price is the probability-weighted average of tomorrow's, so the three numbers are consistent. If they had not averaged correctly, one of them would be wrong.

(d) The series reaches a fifth game exactly when the first four games split 2–2: (42)(0.6)2(0.4)2=6×0.36×0.16=0.3456\binom42 (0.6)^2(0.4)^2 = 6 \times 0.36 \times 0.16 = 0.3456, so 34.56.

(e) Fair value is 68.26 and the bid of 70 is above it: sell at 70, an edge of about 1.74 per contract. Mention the risk: the payoff is 0 or 100, with standard deviation 1000.68256×0.31744≈46.5100\sqrt{0.68256 \times 0.31744} \approx 46.5, so the edge is small relative to the risk of a single contract, and you would size accordingly. You might also ask why the market is above your model: if others think A is stronger than 0.6, your input is the thing to question.

Worked example

odd or even, with a changing payoff

You and the interviewer simultaneously show one or two fingers. If the total is even, the interviewer pays you the total (2 or 4). If it is odd, you pay the interviewer 3.

  • (a) Is the game fair?
  • (b) Find the optimal strategies and the value of the game to you.
  • (c) The payment when both show two is changed to xx. What xx makes the game fair?
  • (d) You notice the interviewer shows one finger exactly half the time, at random. What should you do?
Show solution

(a) It looks favourable (you can receive 2 or 4, you only ever pay 3), but you cannot tell without solving it. Your payoff matrix (rows: your choice, columns: theirs) is (2−3−34).\begin{pmatrix} 2 & -3 \\ -3 & 4 \end{pmatrix}. There is no saddle point (each player wants to switch whatever the other does), so the solution is mixed.

(b) Show one finger with probability pp, chosen so the interviewer is indifferent. Against their 1: 2p−3(1−p)=5p−32p - 3(1 - p) = 5p - 3. Against their 2: −3p+4(1−p)=4−7p-3p + 4(1 - p) = 4 - 7p. Setting these equal gives p=712p = \tfrac{7}{12}, and the value is 5⋅712−3=−1125 \cdot \tfrac{7}{12} - 3 = -\tfrac{1}{12}. The matrix is symmetric, so the interviewer's optimal mix is also one finger with probability 712\tfrac{7}{12}. The game favours the interviewer by 112\tfrac{1}{12} per round, despite appearances.

(c) For a 2×22 \times 2 zero-sum game (abcd)\begin{pmatrix} a & b \\ c & d \end{pmatrix} with no saddle point, the value is ad−bca+d−b−c\dfrac{ad - bc}{a + d - b - c}. Here that is 2x−9x+8\dfrac{2x - 9}{x + 8}. It equals −112-\tfrac1{12} at x=4x = 4 (a check on (b)) and is zero at x=4.5x = 4.5.

(d) Against a 50/50 opponent, showing one finger earns 0.5(2)+0.5(−3)=−0.50.5(2) + 0.5(-3) = -0.5, and showing two earns 0.5(−3)+0.5(4)=+0.50.5(-3) + 0.5(4) = +0.5. Always show two: +0.5 per round. Then say the caveat: a pure strategy is exploitable, so once the interviewer adapts (by always showing one, which wins 3 a round against you), you should move back towards the 712\tfrac{7}{12} mix. Distinguishing the equilibrium from the best response to an observed opponent is what this follow-up is testing.

Knowledge check

In the eight-sided die game with a single reroll, the reroll now costs 2. What is the game worth with optimal play?

Knowledge check

In the best-of-five series (A wins each game with probability 0.6), A leads 2–0. What is the contract paying 100 if A wins worth?

Knowledge check

In the odd-or-even game, the payment when the total is odd is reduced from 3 to 2 (the even payments stay 2 and 4). What is the value of the game to the player who is paid on even totals?

Key takeaways

  • Set up the state and value function in the first stage; each follow-up is then a small change to one equation.
  • Fees and costs move thresholds through the continuation value; options can only add value.
  • Prices before and after new information must average to today's price; use that as a check.
  • In games, separate the equilibrium (unexploitable) from the best response to an observed opponent (profitable but exploitable).
  • When asked to make a market, state fair value, a width tied to the payoff's spread, and who controls any decisions in the product.

Practice problems

Finished reading?

Answer the 3 knowledge checks to complete this lesson (0 done).