Everything About ___
Live briefing

Everything about Linked list

Data structure with nodes pointing to the next node

In computer science, a linked list is a linear collection of data elements whose order is not given by their physical placement in memory. Instead, each element points to the next. It is a data structure consisting of a collection of nodes which together represent a sequence. In its most basic form, each node contains data, and a reference to the next node in the sequence. This structure allows for efficient insertion or removal of elements from any position in the sequence during iteration. More complex variants add additional links, allowing more efficient insertion or removal of nodes at arbitrary positions. A drawback of linked lists is that data access time is linear with respect to the number of nodes in the list. Because nodes are serially linked, accessing any node requires that the prior node be accessed beforehand. Faster access, such as random access, is not possible. Arrays have better cache locality compared to linked lists. Wikipedia →

🧭 Start here: a 6-step reading path

  1. Read the overview: Linked listA 5-minute orientation
  2. Skim a recent paper: Eyebox uniformity optimization over the full field of view for optical waveguide displays based on linked list processingInfluential work since 2022
  3. Pick up a classic book: The Minimum You Need to Know about Logic to Work in ItThe most-reprinted book on the subject
  4. Read the landmark paper: Real‐Time Concurrent Linked List Construction on the GPUCited 122 times
  5. Go sideways: Doubly linked listA closely related topic
  6. Go sideways: Queue (abstract data type)A closely related topic

📖 Definitions

Noun A simple linear data structure, each of whose nodes includes a pointer to the next (and sometimes previous) node in the list, enabling traversal of the structure in at least one direction from any starting point.

🏆 Landmark papers (most cited)

🆕 Influential since 2022

📚 Books worth reading

Ranked by number of editions on Open Library, a rough measure of how lasting a book is.

🔗 Related topics