[   ^ to index...   |   next -->   ]

CSE 143/AC : 20 July 2000


Basic ADTs: stacks, queues

Working with raw linked lists and vectors is prone to error. Often, we want to restrict the set of operations that are possible on a data structure. The stack and queue ADTs specialize the idea of a sequence so that insertion and deletion must always occur at the same point each.

Notice that neither ADT defines a representation. This is what makes it abstract.

Last modified: Thu Jul 20 13:14:52 PDT 2000