2017 T8: Strings Determined by Flipping Coins
Source:
January 29, 2017
2017team
Problem Statement
Alice and Bob have a fair coin with sides labeled and , and they flip the coin repeatedly while recording the outcomes; for example, if they flip two 's then an , they have recorded. They play the following game: Alice chooses a four-character string , then Bob chooses two distinct three-character strings and such that neither is a substring of . Bob wins if shows up in the running record before either or do, and otherwise Alice wins. Given that Alice chooses and Bob plays optimally, compute the probability that Bob wins.