Britannica Sources used in this answer

How do linked lists use pointers to organize data in memory?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

In computer science, a linked list is a data structure that organizes data by storing items nonconsecutively in memory. Unlike arrays, which rely on consecutive numbering, linked lists use pointers to maintain their order.

A pointer is a memory address stored alongside each data item. This address explicitly indicates the location of the next item in the sequence. By storing these references, the structure can effectively "link" disparate memory locations together, allowing the system to traverse the data sequentially even though the elements are not physically adjacent in the computer's memory.1