Linked List - Linked List Operations

Linked List Operations

When manipulating linked lists in-place, care must be taken to not use values that you have invalidated in previous assignments. This makes algorithms for inserting or deleting linked list nodes somewhat subtle. This section gives pseudocode for adding or removing nodes from singly, doubly, and circularly linked lists in-place. Throughout we will use null to refer to an end-of-list marker or sentinel, which may be implemented in a number of ways.

Read more about this topic:  Linked List

Famous quotes containing the words linked, list and/or operations:

    In the dominant Western religious system, the love of God is essentially the same as the belief in God, in God’s existence, God’s justice, God’s love. The love of God is essentially a thought experience. In the Eastern religions and in mysticism, the love of God is an intense feeling experience of oneness, inseparably linked with the expression of this love in every act of living.
    Erich Fromm (1900–1980)

    Lastly, his tomb
    Shall list and founder in the troughs of grass
    And none shall speak his name.
    Karl Shapiro (b. 1913)

    There is a patent office at the seat of government of the universe, whose managers are as much interested in the dispersion of seeds as anybody at Washington can be, and their operations are infinitely more extensive and regular.
    Henry David Thoreau (1817–1862)