Computer Science 211
Data Structures

Mount Holyoke College
Fall 2009


Lecture 30: Introduction to Graphs and Graph Implementations
Date: Wednesday, December 2, 2009

Agenda

Examples

Lecture Assignment

Due at the start of class, Friday, December 4.

Turn in short answers to these questions. Please turn in a hard copy (typeset or handwritten are OK). We will discuss these problems during class, so no late submissions are accepted.

  1. Start with a complete AVL tree containing the values 10, 20, 30, 40, 50, 60, and 70. Insert the values 31, then 32, showing any rotations needed to maintain the AVL condition.
  2. Now, insert 32 then 31. Show any rotations needed to maintain the AVL condition.
  3. Bailey Problem (not Self-Check) 16.2, p. 435.
  4. Bailey Problem (not Self-Check) 16.6, p. 436.
  5. Bailey Problem (not Self-Check) 16.10, p. 436.