Question d’entretien chez Microsoft

Array vs Linked List

Réponse à la question d'entretien

Utilisateur anonyme

6 août 2010

Array have an access time of O(1) and insertion time of O(n) (in some case O(1) amortized time). Linked lists access time of O(n), insertion in some cases is O(1).