0 votes
in JAVA by
Difference between ArrayList and LinkedList in Java?

1 Answer

0 votes
by
The obvious difference between them is that ArrrayList is backed by array data structure, supprots random access and LinkedList is backed by linked list data structure and doesn't supprot random access. Accessing an element with the index is O(1) in ArrayList but its O(n) in LinkedList. See the answer for more detailed discussion.
...