List of sample Java LinkedList Example - Walking Techie

Blog about Java programming, Design Pattern, and Data Structure.

Friday, December 2, 2016

List of sample Java LinkedList Example

LinkedList is doubly-linked list implementation of the List and Deque interfaces. All of the operations perform as could be expected for a doubly-linked list. Operations that index into the list will traverse the list from the beginning or the end, whichever is closer to the specified index.

In addition to implementing the List interface, the LinkedList class provides uniformly named methods to get, remove and insert an element at the beginning and end of the list. These operations allow linked lists to be used as a stack, queue, or double-ended queue.

In this post, we will see list of LinkedList example.

6 comments :