Question d’entretien chez Google

was asked to write an algorithm to solve a sorting problem