Linked lists

Follow how nodes store values and references while insertion, deletion, and traversal reshape the chain.

Which directions must each node remember?

Choose by the decision you want to understand

Each lesson names the situation it fits and the behavior worth watching.

Singly Linked List visualizer preview
Start hereFollow next references

Singly Linked List

Choose it when
Understanding non-contiguous sequences
Watch for
Changing one reference can insert a node without shifting later values.
Explore Singly Linked List
Doubly Linked List visualizer preview
BeginnerLink both directions

Doubly Linked List

Choose it when
Bidirectional traversal and deletion
Watch for
Extra references simplify backward movement but increase update work.
Explore Doubly Linked List
Circular Linked List visualizer preview
IntermediateReconnect tail to head

Circular Linked List

Choose it when
Round-robin and repeating sequences
Watch for
Traversal needs an explicit stopping rule because no node points to null.
Explore Circular Linked List