Linked List

Noun · Development

Definitions

  1. A linear data structure where each element (node) contains a value and a pointer to the next node, allowing O(1) insertion and deletion at known positions but requiring O(n) traversal for random access. Variants include singly linked, doubly linked, and circular linked lists.

    In plain English: A chain of data where each piece points to the next one, making it easy to add or remove items but slow to jump to a specific position.

    Example: "We use a doubly linked list for the LRU cache so we can move accessed entries to the head in constant time."

Related Terms