Pregunta de entrevista de IMC Trading

Asked to design algorithms for a problem statement