Pergunta de entrevista da empresa Hudson River Trading

Find an optimal algorithm to (..)