Trusted answers to developer questions

What is a singly linked list?

Educative Answers Team

Free System Design Interview Course

Get Educative's definitive System Design Interview Handbook for free.

A singly linked list is a type of linked list that is unidirectional, that is, it can be traversed in only one direction from head to the last node (tail).

Each element in a linked list is called a node. A single node contains data and a pointer to the next node which helps in maintaining the structure of the list.

The first node is called the head; it points to the first node of the list and helps us access every other element in the list. The last node, also sometimes called the tail, points to NULL which helps us in determining when the list ends.

svg viewer
An example of a singly Linked List

Common Singly Linked List Operations:

Search for a node in the List