示例#1
0
文件: AVLTree.cs 项目: pzprovi/saod2
 public void Delete(int t)
 {
     root = Delete(root, t);
 }
示例#2
0
文件: AVLTree.cs 项目: pzprovi/saod2
 int bfactor(AVLNode p)
 {
     return(getHeight(p.left) - getHeight(p.right));
 }
示例#3
0
文件: AVLTree.cs 项目: pzprovi/saod2
        public void Insert(int value)
        {
            var node = new AVLNode(value);

            root = Insert(root, node);
        }