版权说明 操作指南
首页 > 成果 > 详情

一种由层次遍历和其它遍历构造二叉树的新算法

认领
导出
Link by 中国知网学术期刊 Link by 维普学术期刊 Link by 万方学术期刊
反馈
分享
QQ微信 微博
成果类型:
期刊论文
作者:
王防修;刘春红
作者机构:
武汉轻工大学数学与计算机学院
[刘春红] 九州通医药集团物流有限公司
[王防修] 武汉轻工大学
语种:
中文
关键词:
层次遍历;先序遍历;中序遍历;后序遍历;递归算法
关键词(英文):
Level traversal;preorder traversal;inorder traversal;postorder traversal;recursive algorithm
期刊:
武汉轻工大学学报
ISSN:
2095-7386
年:
2016
卷:
35
期:
4
页码:
67-72
基金类别:
国家自然科学基金资助项目(61179032);
机构署名:
本校为第一机构
院系归属:
数学与计算机学院
摘要:
在由遍历序列构造二叉树问题的研究中,针对目前还没有用层次遍历和其它遍历一起构造二叉树的问题,提出了一种由层次遍历和其它遍历一起构造二叉树的新算法。考虑到层次遍历中左子树和右子树的层次遍历不具有递归属性,设计了从层次遍历中分离出左右子树层次遍历的方法,并且通过组合得到具有递归属性的层次遍历。通过对层次遍历和中序遍历的递归属性的研究,设计了由层次遍历和中序遍历构造二叉树的递归算法;通过对层次遍历和先序遍历的递归属性的研究,设计了由层次遍历和中序遍历构造没有出度为1的二叉树的递归算法;通过对层次遍历和后序遍历的递归属性的研究,设计了由层次遍历和后序遍历构造没有...
摘要(英文):
In the study which uses traversal sequences to construct the binary tree,in view of The fact that it is not used to construct the binary tree by using the level traversal and the other traversal,a new algorithm is put forward to construct the binary tree by using the level traversal and the other traversal. Considering that there is not recursive attribute in the level traversal of the left sub tree and the right sub tree,a method is designed to isolate the left subtree level traversal and the right subtree level traversal from the level traversal,and recursive property is gained through the c...

反馈

验证码:
看不清楚,换一个
确定
取消

成果认领

标题:
用户 作者 通讯作者
请选择
请选择
确定
取消

提示

该栏目需要登录且有访问权限才可以访问

如果您有访问权限,请直接 登录访问

如果您没有访问权限,请联系管理员申请开通

管理员联系邮箱:yun@hnwdkj.com