【转】100题题1解——把二元查找树转变成排序的双向链表
摘要:
参见原文:http://blog.csdn.net/proing/archive/2010/12/06/6058724.aspx// Exereise.cpp #include "stdafx.h" #include <iostream> using namespace std; struct BSTreeNode { int m_nValue; // value of node BSTreeNode *m_pLeft; //leftchild ofnode BSTreeNode *m_pRight; // right child ofnode }; typed 阅读全文
posted @ 2011-04-27 20:28 小夏2011 阅读(195) 评论(0) 推荐(0) 编辑