A binary search tree is a tree like structure where:
- Each node can have up to two children
- Children nodes have a sense of “direction” -
LeftorRight - The key of the
Leftnode is less than the key of theRightnode
Operations:
The binary search tree has a number of operations which it implements:
insertdeletesearch
Each operation is guaranteed to run in time.