Pregunta de entrevista de Citadel Securities

The problem required to optimize an already given function.