← JPMorgan Chase Interview Insights

JPMorgan Chase·Software Engineer·Technical Phone Screen·Intermediate

Intermediate
Jun 2026

Summary

Quant Engineer interview at JP Morgan centered on probability and expected value, the kind of question that feels straightforward until you're actually sitting there doing mental arithmetic under pressure. The extensions they ask after the base case are where it gets interesting.

Questions Asked (1)

Q1

You roll a fair six-sided die and win whatever dollar amount shows. What's the expected value of one play, and what's the most you'd rationally pay to play? Follow-ups included pay-to-reroll mechanics, summing multiple dice, and taking the max of two rolls.

Algorithms & Data StructuresTechnical Trade-offs
Author's notes

The base case is just (1+2+3+4+5+6)/6 = 3.50, so you'd pay up to $3.50.

Create a free account to read the full note

AI HintsAI Generated

Suggested Approach

Start by computing the expected value of a single roll (3.5) and stating that you'd pay up to that amount. Then, for each follow-up, clearly define the decision rule (e.g., reroll if the current roll is below the expected value of a fresh roll) and compute the new expected value using conditional expectations. Emphasize that the 'most you'd rationally pay' equals the expected value under optimal play, assuming risk neutrality.

Pro tip: Explicitly state your risk-neutral assumption and note that in practice, risk aversion or capital constraints might lower your willingness to pay. This shows you understand the gap between theoretical EV and real-world decision-making.

1. Compute baseline expected value

Calculate the expected value of a single fair six-sided die: (1+2+3+4+5+6)/6 = 3.5. State that the maximum rational price to play is $3.50 under risk neutrality.

2. Analyze pay-to-reroll mechanics

For a reroll costing c, determine the threshold: reroll if the current roll is less than the expected value of a fresh roll minus c. Set up the equation E = (1/6)Σ max(roll, E - c) and solve for E.

3. Extend to summing multiple dice

For n dice, the expected sum is 3.5n by linearity of expectation. If there's a cost per die, compare total expected sum to total cost.

4. Compute expected maximum of two rolls

For two independent rolls, the expected maximum is Σ_{k=1}^6 k * P(max = k) = Σ_{k=1}^6 k * (2k-1)/36 = 161/36 ≈ 4.472. Alternatively, use E[max] = Σ_{k=1}^6 P(max ≥ k) = Σ_{k=1}^6 (1 - ((k-1)/6)^2).

5. Discuss rational pricing and assumptions

Conclude that the maximum rational price equals the expected value under optimal play, but mention that risk aversion, utility functions, or additional constraints could alter the decision.

Key Points to Mention

  • Expected value of a single die is 3.5, so maximum rational price is $3.50.
  • For rerolls, use dynamic programming or threshold policy: reroll if current roll < expected value of continuing.
  • Linearity of expectation: expected sum of n dice is 3.5n.
  • Expected maximum of two dice is 161/36 ≈ 4.472, computed via order statistics or tail sum formula.
  • Risk neutrality assumption: paying exactly EV yields zero expected profit; paying less yields positive expected profit.
  • In practice, risk aversion or limited bankroll may reduce willingness to pay below EV.

AI-generated suggestions, not part of the candidate's original notes. May be inaccurate — verify before relying on them.