next up previous
Next: Example Up: CSE 2320: Algorithms and Previous: Data Structures

Elementary Data Structures

Stacks and Queues

Prespecify object to be deleted



Stack



Implementation using an Array

S = stack
top(S) = index to top element of array



Copyright © 1998 The University of Texas at Arlington