Exemple #1
0
 private AVLTreeNode <T> LeftRightCase(AVLTreeNode <T> node)
 {
     node.Left = LeftRotate(node.Left);
     return(LeftLeftCase(node));
 }
Exemple #2
0
 private AVLTreeNode <T> RightLeftCase(AVLTreeNode <T> node)
 {
     node.Right = RightRotate(node.Right);
     return(LeftLeftCase(node));
 }
Exemple #3
0
 private AVLTreeNode <T> LeftLeftCase(AVLTreeNode <T> node)
 {
     return(RightRotate(node));
 }
Exemple #4
0
 private AVLTreeNode <T> RightRightCase(AVLTreeNode <T> node)
 {
     return(LeftRotate(node));
 }