Lecture 12

Learning objectives

After this class, you should be able to:

  1. Given certain operations on a deque, implemented as an array of pointer, draw a figure that shows its state at the end of those operations.
  2. Given certain operations on a deque, implemented as in sec 3.8, draw a figure that shows its state at the end of those operations.
  3. Write code for member functions of the deque class, where the deque is implemented either as an array of pointers or as given in sec 3.8.

Reading assignment

  1. Class notes, Section 3.8 (after fig 3.27).
  2. Sec 4.6.

Exercises and review questions


Last modified: 5 Oct 2009.