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