IMC Trading interview question

see homework assignment mentioned above