IMC Trading Interview Question

Asked to design algorithms for a problem statement