Pregunta de entrevista de Virtu Financial

Programme code to solve math question