摘要: 二叉树中遍历问题: 前序遍历:根节点-->左子树-->右子树 中序遍历:左子树 --> 根节点 ->右子树 后序遍历: 左子树 ->右子树 --> 根节点 例: 中序遍历序列为BADC 前序遍历序列为ABCD 根为A 左子树为B 右子树为DC(中序)/CD(前序) 继续分解右子树,得到右子树根为C, 阅读全文
posted @ 2017-09-09 10:51 云中摆渡的老船长 阅读(127) 评论(0) 推荐(0)

It's not who you are underneath, it's what you do that defines you

Brick walls are there for a reason :they let us prove how badly we want things