节点文献

二叉树后序遍历的非递归化算法讨论

A discussion of postorder-traverse binary tree with no-recursive algorithm

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 尹德辉孟林李忠

【Author】 YIN De-hui, MENG Lin, LI Zhong(Dept. of Computer Science, Yibin University, Yibin 644007, P.R.C.)

【机构】 宜宾学院计算机科学系宜宾学院计算机科学系 四川宜宾 644007四川宜宾 644007四川宜宾 644007

【摘要】 尽管递归算法具有结构简炼、清晰、可读性强等优点,但递归算法在执行过程会耗费太多的时间和空间,为了追求算法的时空效率,必须将递归算法转化为非递化算法,问题才能得到有效解决,讨论了在递归算法执行过程中栈的变化和给出了改进的非递归化算法.

【Abstract】 A recursive algorithm structure is simple, clear and readable. But a recursive algorithm will cost too much time and space during the process. We should transform the recursive algorithm into a non-recursive algorithm for time and space efficiency. For this, the alter of stack executing recursive algorithm is discussed, and the improvement of non-recursive algorithm is also given.

【关键词】 递归递归算法非递归化算化
【Key words】 recursionstackrecursive algorithmnon-recursive algorithm
  • 【文献出处】 西南民族大学学报(自然科学版) ,Journal of Southwest University for Nationalities (Natural Science Edition) , 编辑部邮箱 ,2003年05期
  • 【分类号】TP311.12
  • 【被引频次】7
  • 【下载频次】184
节点文献中: 

本文链接的文献网络图示:

本文的引文网络