Domanda di colloquio di Optiver

Given some random system how would you do x?