7. 二叉树遍历( 先序、中序、后序 递归 非递归 )
摘要:
RT, 部分参考了《剑指offer》#pragma once#include #include #include using namespace std;struct BinaryTreeNode { int m_nValue; BinaryTreeNode* m_pLeft; BinaryTreeNode* m_pRight;};class BinaryTree{public: BinaryTreeNode* Construct(int preorder[], int inorder[], int length); // 根据先序、中序结果构造二叉树 Binar... 阅读全文
posted @ 2013-08-31 21:20 没有什么能够阻挡 阅读(308) 评论(0) 推荐(0)
浙公网安备 33010602011771号