Lecture 20

Learning objectives

After this class, you should be able to:

  1. Define an AVL search tree..
  2. Derive bounds on the height of an AVL tree.
  3. Write code to implement insertion into an AVL tree, and give its time complexity.
  4. Given a sequence of insertions into an AVL tree, draw the tree.
  5. Identify applications where a binary search tree will be useful.

Reading assignment

  1. Section 6.7 introduction, and 6.7.2 (except deletion).
  2. None.

Exercises and review questions


Last modified: 20 Mar 2008