Weiyi-Huang
Results
1
issues of
Weiyi-Huang
# 二叉搜索树的插入及生成算法存在问题 ## `void InsertBSTree(BSTree &T, const ElemType &e)` ```cpp // 原代码 if (T == nullptr) { T = new BSNode; T->data = e; } // 此处的树左右孩子应置为空指针,更改后的代码 if (!T) {...