Adds a node to the end of a doubly linked list.
Any pointers node already carries are overwritten, so a node that was linked elsewhere brings none of its former neighbours with it.
node
O(1)
The type of the list.
The list instance.
The node to add.
Adds a node to the end of a doubly linked list.
Any pointers
nodealready carries are overwritten, so a node that was linked elsewhere brings none of its former neighbours with it.O(1)O(1)