User Tools

Site Tools

This is an old revision of the document!

Linked list

A linked list is a data structure composed of a group of nodes which consist of two elements, data and a reference to the next node.


Adding creates a single node linked to the current first node, and changes the pointer to the first node to point to the new node.


If the first node is the node to remove, …

In progress…

This visualisation allows the adding or removal of nodes to a linked list. Use the buttons on the right of the code to trigger running the commands on the list.

λ linked-list

linked_list.1363758629.txt.gz · Last modified: 2015/02/02 08:24 (external edit)