IMC Trading Interview Question

It was a coding question.