Pregunta de entrevista de Meta

Expected value combined with probability