- It has only one root node.
- Each node can have at most two children.
- The value of left child is always smaller than its parent.
- The value of right child is always greater than its parent.
- Every node has the following attributes :- parent, leftChild, rightChild and key.
Binary Search Tree implementation java : Insertion, Deletion, Right Rotate, Left Rotate, Predecessor, Successor, Inorder
A binary search tree is a data structure having the following properties
Subscribe to:
Posts (Atom)