数据结构实验---二叉排序树的创建

    #include<stdio.h> #include<string.h> #include<algorithm> using namespace std; typedef struct node { int key; struct node *l,*r; }bstnode; int bstinsert(bstnode *&p,int k) { if(p==NULL) { p=n
相关文章
相关标签/搜索