Concept Flow - Doubly Linked List Structure and Node Design
Create new node
Set node.data, node.prev = nil, node.next = nil
If list empty?
Set head = node
Set last_node.next = node
Set node.prev = last_node
Done
Shows how a new node is created with data and pointers, then added to an empty or non-empty doubly linked list.
