Qm

Flips until the pattern tails-heads-tails-heads appears

You flip a fair coin until the last four flips are T, H, T, H.

On average, how many flips does it take for THTH to first appear?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion Β· reading is open to everyone

πŸ’‘ Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Flips until the pattern heads-tails-heads appearsFlips until the pattern heads-heads-heads appearsFlips until the pattern heads-heads-tails appearsRolls until a one is immediately followed by a twoTaking turns to roll the first six
All questions β†’