Pergunta de entrevista da empresa Citadel Securities

The problem required to optimize an already given function.