LINKED LIST

  

Copyright © Philip M. Parker, INSEAD. Terms of Use.

LINKED LIST

Specialty Definition: LINKED LIST

DomainDefinition

Computing

Linked list A data structure in which each element contains a pointer to the next element, thus forming a linear list. A doubly linked list contains pointers to both the next and previous elements. (1995-03-28). Source: The Free On-line Dictionary of Computing.

Math

A list implemented by each item having a link to the next item. (references)

Source: compiled by the editor from various references; see credits.

Top     

Specialty Definition: Linked list

(From Wikipedia, the free Encyclopedia)

In computer science, a linked list is one of the simplest data structures used in computer programming. It consists of a number of nodes, each containing one element and one (or more) links to other nodes. Linked lists permit insertion and removal of nodes at any point in the list in O(1) time. Linked lists do not allow random access.

The simplest kind of linked list is a singly linked list, which has one link per node. This link points to the next node in the list, or to a null value if it is the last node. This kind of list allows sequential access to elements only in one direction (from front to back).

A more sophisticated kind of linked list is a doubly linked list. Each node has two links, one to the previous node and one to the next. This allows sequential access to the list in both directions.

There are two significant variations to the types mentioned above. First is a circularly linked list, where the first and last nodes are linked together. This can be done for both singly and doubly linked lists. The other variation is the addition of a sentinel node at the beginning of the list. This node represents before the first node and/or after the last node of the list. It also makes it possible to have an empty list.

Singly linked lists have one strong advantage over doubly-linked lists: each tail of the list, meaning all the nodes following a chosen one, themselves form a singly linked list. Thus this type of list, sometimes also called a cons-based list, can be seen as a recursive datatype. This enables, for example, two different lists to share a common tail, which in turn enables one to add to the front of the list while keeping a reference to both the new and the old versions, making this type of list a persistent data structure.

Language Support

Many programming languages, such as LISP and Scheme have singly linked lists built in;. In other languages it is simple to create the data structure using pointers or references to implement links between list nodes. For example, in C:

typedef struct Person
{
    struct Person *prev; // previous person in list
    struct Person *next; // next person in list
    char name[10];
    int age;
};

An example of code that uses this structure:

Person first; // first item in the linked list
Person *p = &first;
while(!feof(stdin)) // there's still input { p->next = (Person *)malloc(sizeof(Person)); // first link p = p->next; printf("Enter name and age:\
"); // Ask for input scanf("%s %d", &(p->name), &(p->age)); // Use it }

A curious algorithm for linked lists is Xor linked lists.

Linked Lists On The Web

Some linked list materials are available from the Stanford Computer Science department:

Source: adapted by the editor from Wikipedia, the free encyclopedia under a copyleft GNU Free Documentation License (GFDL) from the article "Linked list."

Top     

Crosswords: LINKED LIST

Specialty definitions using "LINKED LIST": chase pointers, circular listdoubly linked listenvironment variableL6ordered linked listskip list. (references)

Top     

Commercial Usage: LINKED LIST

DomainTitle

Books

  • Dynamically Linked List boxes [DOWNLOAD: PDF] (reference)

    (more book examples)

Source: compiled by the editor from various references; see credits.

Top     

Expression: LINKED LIST

Expression using "LINKED LIST": doubly linked list. Additional references.

Source: compiled by the editor from various references; see credits.

Top     

Frequency of Internet Keywords: LINKED LIST

The following statistics estimate the number of searches per day across the major English-language search engines as identified by various trade publications. Hyperlinks lead to commercial use of the expression at Amazon.com.
 
ExpressionFrequency
per Day
ExpressionFrequency
per Day

linked list

44

example linked list

3

java linked list

21

linked list reverse

3

c++ linked list

15

free linked list

3

c linked list

11

data linked list structure

3

circular linked list

7

c++ in linked list

3

doubly linked list

7

linked list tutorial

3

example java linked list

6

code java linked list

2

double linked list

6

algorithm linked list pascal

2

c in linked list

6

c insertion linked list sort

2

linked list sorting

5

c++ doubly linked list

2

linked list singly

4

class linked list

2

in java linked list

4

c linked list programming

2

c# linked list

4

c++ linked list tutorial

2

deviation java linked list mean standard

3

linked list sort

2

linked list merge sort

2
Source: compiled by the editor from various references; see credits.

Top     

Modern Translation: LINKED LIST

Language Translations for "LINKED LIST"; alternative meanings/domain in parentheses.

Danish

  

liste (list), kadeliste. (various references)

   

Dutch

  

geketende lijst. (various references)

   

Finnish

  

ketju (chain, cordon, line). (various references)

   

French

  

structure de liste, chaînage (linking). (various references)

   

German

  

verkettete Liste. (various references)

   

Greek 

  

Συνδεδεμένη λίστα,αλυσιδωτή λίστα. (various references)

   

Italian

  

lista concatenata. (various references)

   

Pig Latin

  

inkedlay istlay

   

Portuguese

  

estrutura de lista. (various references)

   

Spanish

  

lista enlazada, lista encadenada, lista concatenada. (various references)

   

Swedish

  

länkad lista (chained file, threaded file). (various references)

Source: compiled by the editor from various translation references.

Top     

Anagrams: LINKED LIST

Scrabble® Enable2K-Verified Anagrams

Words within the letters "d-e-i-i-k-l-l-n-s-t"

-1 letter: instilled, kindliest.

-2 letters: dinkiest, niellist.

-3 letters: dentils, dillies, dinkies, dislike, distill, illites, indites, inkiest, instill, killies, kilties, kindest, kindles, lentils, lentisk, lindies, liniest, lintels, skilled, skillet, slinked, stilled, tineids, tinkled, tinkles, tinlike.

-4 letters: delist, dentil, distil, elints, enlist, idlest, illest, illite, indies, indite, inkles, inlets, inside, instil, killed, killie, kilned, kilted, kiltie, kindle, knells.

Source: compiled by the editor from various references; see credits.

SCRABBLE® is a registered trademark. All intellectual property rights in and to the game are owned in the U.S.A and Canada by Hasbro Inc., and throughout the rest of the world by J.W. Spear & Sons Limited of Maidenhead, Berkshire, England, a subsidiary of Mattel Inc. Mattel and Spear are not affiliated with Hasbro.

Top     



INDEX

1. Crosswords
2. Usage: Commercial
3. Expressions
4. Expressions: Internet
5. Translations: Modern
6. Anagrams
7. Bibliography


  

Copyright © Philip M. Parker, INSEAD. Terms of Use.