Question d’entretien chez Appian

Sorting an array in different time complexities.