摘要: /* 你的代码将被嵌在这里 */BinTree Insert(BinTree BST, ElementType X){ if (BS... 阅读全文
posted @ 2020-10-11 12:07 _Hsiung 阅读(97) 评论(0) 推荐(0) 编辑
摘要: 不熟悉静态链表利用左右子节点下标建树,以及如何寻找根节点,使用静态链表建树传入根节点只要传入根节点下标。 #include<iostream> #include<algorithm> #include<stack> #include<cstring> using namespace std; str 阅读全文
posted @ 2020-10-11 12:07 _Hsiung 阅读(136) 评论(0) 推荐(0) 编辑