數據結構實驗---二叉排序樹的創建

    #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
相關文章
相關標籤/搜索