A linked list is a data structure consisting of data and links. The data and the links are stored together in what is called as Node. The link inside a node points to another Node.
The first node of a linked list is called as Head and the last node of a linked list is called Tail.
Note:
The linked list stores the nodes at different locations in memory using the links present within the nodes, thereby giving it the flexibility to grow and shrink dynamically.

© 2019-2026 Algotree.org | All rights reserved.
This content is provided for educational purposes. Feel free to learn, practice, and share knowledge.
For questions or contributions, visit algotree.org
"Talk is cheap. Show me the code. - Linus Torvalds"