代码搜索结果
找到约 10,000 项符合
4 的代码
4.txt
6.45④ 编写递归算法:对于二叉树中每一个元素值为x
的结点,删去以它为根的子树,并释放相应的空间。
要求实现下列函数:
void ReleaseX(BiTree &bt, char x);
/* Delete all subtrees whose root is */
/* the node which element value is x, */
/* then relea