Lecture 8

Learning objectives

After this class, you should be able to:

  1. Given certain operations on a circular array, draw a figure that shows its state at the end of those operations.
  2. Give the time complexity of the different operations on a circular array.
  3. Implement features of a circular array.
  4. Give applications where a circular array can be useful.
  5. Given certain operations on a stack or a queue, draw a figure that shows the state of the data structure at the end of those operations.
  6. Give the time complexity of the different operations on a stack or a queue.
  7. Implement features of a stack or a queue, using other data structures, such as circular arrays or linked lists.
  8. Give applications where stacks or queues can be useful.

Reading assignment

  1. Sections 3.6, 3.7.
  2. Lecture: Stacks and Queues.

Exercises and review questions


Last modified: 19 Sep 2011