What is the difference between ArrayList and LinkedList?
Page 1 of 1
What is the difference between ArrayList and LinkedList?
ArrayList
ArrayList uses a dynamic array.
ArrayList is not efficient for manipulation because a lot of shifting is required.
ArrayList is better to store and fetch data.
LinkedList
LinkedList uses doubly linked list.
LinkedList is efficient for manipulation.
LinkedList is better to manipulate data.
ArrayList uses a dynamic array.
ArrayList is not efficient for manipulation because a lot of shifting is required.
ArrayList is better to store and fetch data.
LinkedList
LinkedList uses doubly linked list.
LinkedList is efficient for manipulation.
LinkedList is better to manipulate data.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|