Question d’entretien chez JPMorganChase

What is the difference between ArrayList and LinkedList

Réponse à la question d'entretien

Utilisateur anonyme

13 sept. 2017

The main difference is that ArrayList is dynamic and LinkedList is static in memory allocation. ArrayList shifts memory bits to increase or decrease the size of the data structure in memory. Linked list uses a doubly linked list and so no bit shifting is required.