Pregunta de entrevista de Boostorder

Something regarding algorithm and sorting.