A linked list is a data structure composed of nodes. Each node has at least 2 components, the data that it holds and a reference to the next node in the list. There are several kinds of linked lists. Singly linked lists only contain a pointer to the node after them, doubly linked lists contain a pointers to the nodes before and after them. In circular linked lists the tail points to a node earlier in the. list (generally the head) as the following node.
Table of contents
Coding a Singly Linked List in JavaScript1 Comment