Pregunta de entrevista de Jump Trading

Classic recursion path problem and some stats question