next up previous
Next: Example Up: CSE 2320: Algorithms and Previous: Sorted Double List with

Implementing Pointers as Arrays

Objects:



\psfig{figure=figures/f12-9.ps}

Implement as 3 arrays: prev[], key[], next[]

Pointers correspond to array indices



Copyright © 1998 The University of Texas at Arlington