difference between arraylist and linkedlist
Answers
Answered by
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
2. Performance : Performance of ArrayList and LinkedList depends on the type of operation
Answered by
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.
linkedlist is a an ordered set of data elements, each containing a link to its successor.
Similar questions
Chemistry,
8 months ago
Math,
8 months ago
Accountancy,
1 year ago
English,
1 year ago
Biology,
1 year ago