Grokking Java Intermediate
Vote

0% completed

​

Basic Overview of LinkedList Class

LinkedList is an implementation of the List and Deque interfaces in Java. It uses a doubly-linked list structure to store elements, which means each element (node) holds a reference to both its previous and next elements. This structure makes LinkedList particularly efficient for insertions and deletions at both ends, although random access (retrieving elements by index) is slower compared to an ArrayList.

Unlike an ArrayList that uses a dynamic array, a LinkedList does not require contiguous memory

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content