Question d’entretien chez Google

Sort a list

Réponse à la question d'entretien

Utilisateur anonyme

19 mars 2019

If the list is an ArrayList you could use quick sort, merge sort, or heap sort but if it’s a linked list your limited to merge sort because of having only sequential access.