Java Linked List Basic

Oracle Doc, Tutorial Point The LinkedList class extends AbstractSequentialList and implements the List interface. It provides a linked-list data structure. java.util Class LinkedList<E>        java.lang.Object             java.util.AbstractCollection<E>                   java.util.AbstractList<E>                      … Continue reading Java Linked List Basic


Doubly Linked List

Linked List/Queue/Stack Pending - 1. circular 2. round petrol problem 3. linked list and stack and queue mixed problem 4. cracking the coding interview problem 5. InterviewBit Problem Set Make it a point to maintain a tail node in DLL and a size variable. ** Doubly Linked List **Reverse Doubly Linked List   Code *** Sort… Continue reading Doubly Linked List