[Solved] Can’t understand Java doubly linked list [closed]


DLLNode is a user defined class just like your Doublylinkedlist class.

A possible example of what that DLLNode class might look like:

public class DLLNode
{
    int data;
    DLLNode next;
    DLLNode prev;

    public DLLNode(int data)
    {
        this.data = data;
        this.next = null;
        this.prev = null;
    }
}

7

solved Can’t understand Java doubly linked list [closed]