Question d’entretien chez Reddit

Coding question involving some sorting. I can't remember the exact question.