void inOrderBSTree (PTNode root){ if(NULL == root) return; inOrderBSTree(root->lchild); root->=pEnd; if(NULL == pEnd){ pHead=root; }else{ pEnd->rchild=root; } pEnd=root; inOrderBSTree(root->rchild);
}
//使用中序遍历算法,利用pEnd指针不断地实现链表的前后连接。
原文:https://www.cnblogs.com/chenruibin0614/p/12085298.html