Collection (abstract Data Type) - Linear Collections

Linear Collections

See also: Linear data structure

Many collections behave as if they are storing data in a line, ordered in some way, with access to one or both ends. The actual data structure implementing such a collection need not be linear – for example, a priority queue is often implemented as a heap, which is a kind of tree. Important such collections include:

  • List
  • Array
  • Stack (FILO, LIFO)
  • Queue (FIFO, LILO)
  • Priority queue (often implemented as a heap)
  • Double-ended queue (deque)
  • Double-ended priority queue (DEPQ)

Read more about this topic:  Collection (abstract Data Type)

Famous quotes containing the word collections:

    Most of those who make collections of verse or epigram are like men eating cherries or oysters: they choose out the best at first, and end by eating all.
    —Sébastien-Roch Nicolas De Chamfort (1741–1794)