Question d’entretien chez Huawei Technologies

Implement a sorting algorithm for a not in order integer array.