Pergunta de entrevista da empresa KUNCHAM Software Solutions

What are the differences between array list and linked list?

Resposta da entrevista

Sigiloso

28 de set. de 2019

ArrayList internally uses a dynamic array to store the elements. LinkedList internally uses a doubly linked list to store the elements. Manipulation with ArrayList is slow because it internally uses an array. If any element is removed from the array, all the bits are shifted in memory.