Home > DeveloperSection > Interviews > What is the difference between ArrayList and LinkedList?

Posted on    May-11-2015 12:10 AM

 Java Java  Collection 
 1 Answer(s)
  544  View(s)
Rate this:

Mayank Tripathi
Mayank Tripathi

Total Post:807

Posted on    May-11-2015 12:10 AM

1)ArrayList uses a dynamic array.
2)ArrayList is not efficient for manipulation because a lot of shifting is required.
3)ArrayList is better to store and fetch data.

1)LinkedList uses doubly linked list.
2)LinkedList is efficient for manipulation.
3)LinkedList is better to manipulate data.

Don't want to miss updates? Please click the below button!

Follow MindStick