Pregunta de entrevista de Jane Street

Standard probability questions and Markov chain.