Lecture 7

Learning objectives

After this class, you should be able to:

  1. Explain the limitations of vectors.
  2. Explain how linked lists help overcome some of these limitations.
  3. Explain the idea behind linked lists.
  4. Give a set of operations on a linked list, draw a figure that shows the state of the linked list.
  5. Analyze the time complexity of operations, and the space requirements for the linked list class.
  6. Implement the linked list class.
  7. Give applications where a linked list might be useful, other than those mentioned in class.

Reading assignment

  1. Chapter 3, up to (and including) section 3.2.
  2. Section 3.5, page 102 and 103.

Exercises and review questions


Last modified: 29 Jan 2008