leetcode144-先序遍历非递归实现

二叉树的先序/中序/后序遍历递归/非递归实现,讲的很清楚,其中后序遍历和先序中序的处理有些不一样:

https://blog.yangx.site/2016/07/22/Python-binary-tree-traverse/

猜你喜欢

转载自www.cnblogs.com/IcarusYu/p/10778236.html