Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in --d --h --m --s-- days -- hours -- minutes -- seconds.
Price your future right. 60% off with code BLACKSCHOLES at USD checkout. Offer ends in 8d 11h 12m 43s8 days 11 hours 12 minutes 43 seconds.
Guide: Probability Interview Questions for Quants: 10 Worked Examples · Expected Value Questions in Quant Interviews: 12 Classics, Solved
A machine prints a string made of words, each chosen independently and uniformly at random from the vocabulary {cup, cake, foot, ball}, and joins them without spaces. Adjacent words that form a compound word are merged into a single word: "foot" followed by "ball" becomes the single word "football", and "cup" followed by "cake" becomes the single word "cupcake". No other pair forms a compound.
What is the expected number of words in the final string?
Related Problems