Journal of Liaoning Petrochemical University

Journal of Liaoning Petrochemical University ›› 2009, Vol. 29 ›› Issue (2): 60-62.

Previous Articles     Next Articles

A Deciding Algorithm of Full Binary Tree Completely Based on Height

ZHANG Li-qunZHANG Jie   

  1. Vocational and Technical College,Liaoning University of Petroleum & Chemical Technology,Fushun Liaoning 113001,P.R.China
  • Received:2009-01-12 Published:2009-06-25 Online:2017-07-05

一种完全基于高度的满二叉树判定算法

张利群,张 杰   

  1. 辽宁石油化工大学职业技术学院,辽宁抚顺113001
  • 作者简介:张利群(1965-),男,辽宁清原县,教授,硕士

Abstract: By analyzing the characteristic of full binary tree, an equivalence definition was obtained. A decision algorithm of full binary tree completely based on height was provided by the equivalence definition. The algorithm solved the traditional deciding problem of full binary tree. The traditional method needs not only calculate binary tree height but also count branch node numbers. The new decision algorithm enriched the deciding methods of full binary tree. The application shows that the decision algorithm of full binary tree completely based on height runs accurately and the decision result is creditable.

Key words: Full binary tree , Algorithm , Recursion

摘要: 分析了满二叉树具有的性质,得到了满二叉树的一个等价定义,利用该等价定义给出了一种完全基
于高度的满二叉树判定算法。该算法解决了传统上既要计算二叉树高度又要计算二叉树中结点个数来判定一棵二
叉树是否为满二叉树的问题,丰富了满二叉树的判定方法。应用结果表明,这种完全基于高度的满二叉树判定算法
运行正确,判定结论可信。

关键词: 满二叉树 , 算法 , 递归

Cite this article

ZHANG Li-qun, ZHANG Jie. A Deciding Algorithm of Full Binary Tree Completely Based on Height[J]. Journal of Liaoning Petrochemical University, 2009, 29(2): 60-62.

张利群,张 杰. 一种完全基于高度的满二叉树判定算法[J]. 辽宁石油化工大学学报, 2009, 29(2): 60-62.

share this article

0
    /   /   Recommend

Add to citation manager EndNote|Ris|BibTeX

URL: http://journal.lnpu.edu.cn/EN/

         http://journal.lnpu.edu.cn/EN/Y2009/V29/I2/60