MIT 6.006 Introduction to Algorithms, Fall 2011 View the complete course: http://ocw.mit.edu/6-006F11 Instructor: Erik Demaine License: Creative Commons ...
========== The following
content is provided under a Creative
Commons license. Your support will help MIT
OpenCourseWare continue to offer high-quality
educational resources for free. To make a donation or
view additional materials from hundreds of MIT courses,
visit MIT OpenCourseWare at ocw.mit.edu. PROFESSOR: Continuing
in the theme of sorting in general, but
in particular, binary search trees, which are a
kind of way of doing dynamic sorting,
if you will, where the elements are
coming and going. And at all times, you want
to know the sorted order of your elements by storing them
in a nice binary search tree. Remember, in general, a
binary search tree is a tree. It's binary, and it has
the search property. Those three things. This is a rooted binary tree. It has a root. It's bina...