Pergunta de entrevista da empresa Virtu Financial

Asked a puzzle question