Lecture 18

Learning objectives

After this class, you should be able to:

  1. Write code to implement deletion from an AVL tree, and give its time complexity.
  2. Given a sequence of insertions into an AVL tree, and deletions from it, draw the tree.
  3. Explain the correctness of the algorithms for insertion and deletion in an AVL tree.

Reading assignment

  1. Section 4.4.
  2. Lecture: Trees: Part 4 -- AVL trees.
  3. None.

Exercises and review questions


Last modified: 13 Oct 2011