1.Singly linked list — node with value + next
Instead of one contiguous block like a list, a singly linked list is a chain of separate nodes — each one holds its own value plus a pointer to the NEXT node, ending in None.
Key features
- A node is a small object with exactly two fields: value (the data) and next (a reference to the following node, or None)
- head is the only entry point — lose the reference to it, and every node after it becomes unreachable, even though the nodes themselves still exist
- The last node's next is None — that is what tells a traversal loop when to stop
A linked list is a chain of nodes, not a block of memory — head is the only way in, and every node is only reachable by following .next from something that came before it.