Data Structures and Algorithms with Object-Oriented Design Patterns in Python
next up previous index

Array Implementation

Program gif introduces an array implementation of a deque. The DequeAsArray class extends the abstract Deque class defined in Program gif. The QueueAsArray class provides almost all the required functionality.




next up previous index

Bruno Copyright © 2003, 2004 by Bruno R. Preiss, P.Eng. All rights reserved.