What are difference between ArrayList and LinkedList? ArrayList - TopicsExpress



          

What are difference between ArrayList and LinkedList? ArrayList use array internally to insert and search the element whereas LinkedList use doubly LinkedList to insert and search the element. Random access is fast with arraylist as it find element by index, whereas LinkedList is slow as it traverse to find element. ArrayList is fast and easy to use whereas LinkedList take more memory in comparison to ArrayList
Posted on: Wed, 11 Sep 2013 10:15:00 +0000

Trending Topics




© 2015