IMC Trading interview question

very deep c++ knowledge and underlying implementation