Example #1
0
 private AVLNode DoubleRotateWithRight(AVLNode node2)
 {
     node2.right = RotateLeft(node2.right);
     return(RotateRight(node2));
 }
Example #2
0
 public void MakeEmpty()
 {
     root = null;
 }
Example #3
0
 private AVLNode DoubleRotateWithLeft(AVLNode node1)
 {
     node1.left = RotateRight(node1.left);
     return(RotateLeft(node1));
 }
Example #4
0
 public AVLTree()
 {
     root = null;
 }