Computer Science, asked by dhansaniApoorvasun, 1 year ago

difference between arraylist and linkedlist

Answers

Answered by NightHawk
0
 Implementation :  ArrayList is the resizable array implementation of list interface , while LinkedList is the Doubly-linked list implementation of the list interface.


2. Performance  :  Performance of ArrayList and LinkedList depends on the type of operation


Answered by adithya7
0
The constant factor is low compared to that for the LinkedList implementation. Each ArrayList instance has a capacity. The capacity is the size of the array used to store the elements in the list. It is always at least as large as the list size. As elements are added to an ArrayList, its capacity grows automatically.

linkedlist is a
an ordered set of data elements, each containing a link to its successor.
Similar questions