Interview Query

HHT or HTT

19
Have you seen this question before?

You’re given a fair coin. You flip the coin until either Heads Heads Tails (HHTHHT) or Heads Tails Tails (HTTHTT) appears.

Is one more likely to appear first?

If so, which one and with what probability?

Next question: Swap Variables
.....
Loading comments