Pregunta de entrevista de Jump Trading

Finding first instance of a specific value in a sorted list. Geometric distribution expectation.