摘要: 题目的要求如上图所示测试用例(先构造二叉查找树)void buildBSTreeNode(BSTreeNode* head,int data){node = (BSTreeNode*)malloc(sizeof(BSTreeNode));node->data = data;node->m_Left = NULL;node->m_Right = NULL;BSTreeNode* p = head;while(p){ if(node->data > p->data){ if(!p->m_Right){ p->m_Right = node; ... 阅读全文
posted @ 2013-10-26 23:49 idealing 阅读(218) 评论(0) 推荐(0) 编辑