Binary Search Tree

1. It is a tree.

2. It is a binary tree.
a tree with every node having at most two children.
3. It is a search tree. Every node x (node itself, i.e. actual record, or pointer to that node)
has the following information:
· key[x]  -  value stored in x.
· left[x], right[x]
· parent[x]
Property:
If y is in left subtree of x then key[y] <= key[x]
If y is in the right subtree of x then key[y] >= key[x]
Operations on Binary Search Tree (BST): Click here to see a page produced by Chris Nevison

Click here to see building tree from Ford and Topp

Code for Binary Search Tree
Data.dat