题目内容
下面程序段的功能是实现在二叉排序树中插入一个新结点,请在下划线处填上正确的内容。typedef struct node{int data;struct node *lchild;struct node *rchild;}bitree;void bstinsert(bitree *&t,int k){ if (t==0 ) { ____; t->data=k; t->lchild=t->rchild=0; } else if (t->data>k) bstinsert(t->lchild,k); else____;}注意:答案中所有标点符号均为英文标点符号;字母大小写敏感;运算符两侧无空格
查看答案
搜索结果不匹配?点我反馈
更多问题