题解列表

筛选

二叉搜索树 -题解(C语言代码)

#include#include#includetypedefstructbst{intdata;structbst*lchild,*rchild;}bst,*BST;voidInsert(BST&T,intkey){if(T==NULL){T=(BST)malloc(sizeof(bst));T->

二叉排序树-题解(C语言代码)

#include#includetypedefstructbst{intdata;structbst*lchild,*rchild;}bst,*BST;voidInsert(BST&T,intkey){//进行插入建树if(T==NULL){T=(BST)malloc(sizeof(bst));T->