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

一种无需借助栈的严格平衡二叉树建立

认领
导出
Link by 中国知网学术期刊 Link by 维普学术期刊 Link by 万方学术期刊
反馈
分享
QQ微信 微博
成果类型:
期刊论文
论文标题(英文):
A method to establish a strict balance two fork tree without the help of a stack
作者:
魏志威;王防修
作者机构:
武汉轻工大学数学与计算机学院,湖北武汉,430023
[魏志威; 王防修] 武汉轻工大学
语种:
中文
关键词:
选择排序;二叉排序树;严格平衡二叉树;二分查找;查找效率
关键词(英文):
Selection sort;Two binary sort tree;Strict balanced two binary tree;Binary search;Search efficiency
期刊:
武汉轻工大学学报
ISSN:
2095-7386
年:
2015
期:
4
页码:
47-50
基金类别:
武汉轻工大学校级大学生创新创业训练计划项目(xsky2015031);
机构署名:
本校为第一机构
院系归属:
数学与计算机学院
摘要:
针对当前严格平衡二叉树的建立需要借助栈来实现的问题,提出一种无需借助栈也能建立严格平衡二叉树的算法。为能对关键字进行二分查找,需要对现有的关键字序列进行排序,以便统计关键字的有序序列中每个关键字在二分查找时的比较次数。在统计完所有关键字的二分查找的比较次数后,通过关键字比较次数序列的排序得到严格平衡二叉树序列。最后,用非递归的二叉排序树插入算法依次插入严格平衡二叉树序列的每个关键字,得到的二叉排序树就是一棵严格平衡二叉树。算例仿真表明,无需借助栈也可建立一棵严格平衡二叉树。
摘要(英文):
Because establishment of a strict balanced two binary tree needs the help of the stack , this paper presents an algorithm to establish a strict balanced two binary tree without the help of the stack .In order to search for key-words in half , it needs to sort the existing keyword sequence .It statistics the number of comparision in binary search in the ordered keyword sequence .A strict balanced binary tree sequence will be obtained by the sortion of the times of comparison of the keywords after the statistics .Finally, a strict balance two fork tree is obtained after every keyword has been su...

反馈

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

成果认领

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

提示

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

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

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

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