Citadel Securities interview question

Solve programming problem in one line