Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DLinkedList ¶
type DLinkedList struct { Size int // contains filtered or unexported fields }
DLinkedList data structure
func (*DLinkedList) AddNode ¶
func (c *DLinkedList) AddNode(node *Node)
AddNode adds a new node to the tail of of linked list
func (*DLinkedList) PopTail ¶
func (c *DLinkedList) PopTail() *Node
PopTail pops a node from the beginning of the linked list
func (*DLinkedList) RemoveNode ¶
func (c *DLinkedList) RemoveNode(node *Node)
RemoveNode removes a node
Click to show internal directories.
Click to hide internal directories.