Citadel Securities interview question

The problem required to optimize an already given function.