Stack

  • Authors:
  • Peter Wegner;David Hemmendinger

  • Affiliations:
  • -;-

  • Venue:
  • Encyclopedia of Computer Science
  • Year:
  • 2003

Quantified Score

Hi-index 0.00

Visualization

Abstract

A stack is a structure that behaves like a linear list for which all insertions and deletions are made at once end of the list. The properties of a simple stack may be illustrated by a railroad switching network having a track into which railroad cars may be inserted and removed from only one end, as in Fig. 1. At any given time, only the most recently entered railroad car may be removed from the rack. Railroad cars are said to enter and leave the track in a last in, first out (LIFO) order.