Pregunta de entrevista de Optiver

Random walk simulation given directions and steps etc