Lecture 11

Learning objectives

After this class, you should be able to:

  1. Given certain operations on a deque, draw a figure that shows its state at the end of those operations.
  2. Give the time complexity of the different operations on a deque.
  3. Implement features of a deque.
  4. Give applications where a deque can be useful.

Reading assignment

  1. Section 3.8 (up to fig 3.27), class notes for deque implementation (do not use the one in the book).
  2. Page 137 and 138.

Exercises and review questions


Last modified: 12 Feb 2008