
剑指offer
奔跑的小蜗牛1992
这个作者很懒,什么都没留下…
展开
-
面试题27:二叉搜索树与双向链表
#include deque> #include stdio.h> #include iostream> #include stdlib.h> #include vector> using namespace std; struct BinaryTreeNode { int m_value; BinaryTreeNode* m_pLeft; BinaryTreeNode* m_pRight原创 2016-12-22 12:53:35 · 412 阅读 · 0 评论 -
面试题24:二叉搜索树的后续遍历序列
#include #include #include #include using namespace std; struct BinaryTreeNode { int m_value; BinaryTreeNode* m_pLeft; BinaryTreeNode* m_pRight; }*TPP,TPPP; void PrintFromToptoBottom(BinaryT原创 2016-12-22 12:53:58 · 437 阅读 · 0 评论 -
面试题23:从上往下打印二叉树
#include #include #include #include using namespace std; struct BinaryTreeNode { int m_value; BinaryTreeNode* m_pLeft; BinaryTreeNode* m_pRight; }*TPP,TPPP; void PrintFromToptoBottom(BinaryT原创 2016-12-21 14:52:18 · 615 阅读 · 0 评论 -
面试题22:栈的压入、弹出序列
灌灌灌灌原创 2016-12-21 12:18:34 · 327 阅读 · 0 评论