#
Linked List (java.util.collections)Linked List is a part of the Collection framework present in java.util package. This class is an implementation of the LinkedList data structure which is a linear data structure where the elements are not stored in contiguous locations and every element is a separate object with a data part and address part. The elements are linked using pointers and addresses. Each element is known as a node.
#
Instantiate#
Methods (ll)tip
The below listed methods works with all list types
add() - adding element to Linked List
remove() - removing element from Linked List
size() - returns size of list
contains() - returns true/ false if element is present in list
set() - replace element at index
get() - returns element at index of list
subList() - create a sub list from index start to end-1