Skip to content
LeetQuant

Easy · Expected Value & Decision Theory · Numerical · ~3 min · #72

Counting Switches in Coin Flips

Real interview · J.P. Morgan

You flip a fair coin 100 times. A switch is a head immediately followed by a tail, or a tail immediately followed by a head. What is the expected number of switches?

Hints · 0 of 1 shown

Worked solution

Give the problem an honest attempt first, then reveal the full explanation.

Reported in interviews

Candidate-reported and unverified; the firm may phrase it differently or no longer ask it. The wording here is our own paraphrase, and the solution was written and checked independently of any answers posted at the source.

Related questions

Concepts

Linearity of expectationIndicator variables

Relevant for

Quant ResearcherQuant TraderQuant Developer