二叉排序树构造函数算法BISORTTREE由刀豆文库小编整理,希望给你工作、学习、生活带来方便,猜你可能喜欢“二叉排序树各种算法”。
BiSortTree::BiSortTree(int r[ ], int n){
for(i=0;i
{
s=new BiNode;s->data=r[i];s->lchild=s->rchild=NULL;
InsertBST(root, s);
}
}
二叉排序树构造函数算法BISORTTREE由刀豆文库小编整理,希望给你工作、学习、生活带来方便,猜你可能喜欢“二叉排序树各种算法”。
BiSortTree::BiSortTree(int r[ ], int n){
for(i=0;i
{
s=new BiNode;s->data=r[i];s->lchild=s->rchild=NULL;
InsertBST(root, s);
}
}
文档为doc格式