Lecture 27 Objectives


At the end of today's class you should

KNOW:

BE ABLE TO:

Sample Exam Question:

Here is a binary search tree:

               root ->    85
                         /  \
                        /    \
                      37      102
                     / \      / \
                   12   76   91  115
                                   \
                                    137
  1. Draw a picture of the tree that will result when the value 100 is inserted into the given tree.
  2. Starting with the original tree again, draw a picture of the tree that will result when the value 37 is removed from the tree.