数据结构:查找的运用

上传者: whitmanc | 上传时间: 2021-05-21 15:42:53 | 文件大小: 367KB | 文件类型: RAR
一、 实验目的: 1、 掌握各种查找方法及适用场合,并能在解决实际问题时灵活应用。 2、 增强上机编程调试能力。 二、 问题描述 1. 分别利用顺序查找和折半查找方法完成查找。 有序表(3,4,5,7,24,30,42,54,63,72,87,95) 输入示例: 请输入查找元素: 52 输出示例: 顺序查找: 第一次比较元素 95 第二次比较元素 87 …….. 查找成功, i=**/查找失败 折半查找: 第一次比较元素 30 第二次比较元素 63 ….. 2. 利用序列(12,7,17,11,16,2,13,9,21,4) 建立二叉排序树,并完成指定元素的查询。 输入输出示例同题 1 的要求。

文件下载

资源详情

[{"title":"( 28 个子文件 367KB ) 数据结构:查找的运用","children":[{"title":"chazhao","children":[{"title":"chazhao.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"chazhao.dsp <span style='color:#111;'> 4.19KB </span>","children":null,"spread":false},{"title":"chazhao.ncb <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"chazhao.obj <span style='color:#111;'> 12.77KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 100.00KB </span>","children":null,"spread":false},{"title":"chazhao.ilk <span style='color:#111;'> 184.91KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 73.00KB </span>","children":null,"spread":false},{"title":"chazhao.pch <span style='color:#111;'> 198.90KB </span>","children":null,"spread":false},{"title":"chazhao.exe <span style='color:#111;'> 180.08KB </span>","children":null,"spread":false},{"title":"chazhao.pdb <span style='color:#111;'> 449.00KB </span>","children":null,"spread":false},{"title":"er.obj <span style='color:#111;'> 12.71KB </span>","children":null,"spread":false}],"spread":true},{"title":"chazhao.plg <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"chazhao.cpp <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"chazhao.dsw <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"er.cpp <span style='color:#111;'> 1.86KB </span>","children":null,"spread":false}],"spread":true},{"title":"chazhao2","children":[{"title":"chazhao2.opt <span style='color:#111;'> 47.50KB </span>","children":null,"spread":false},{"title":"chazhao2.ncb <span style='color:#111;'> 41.00KB </span>","children":null,"spread":false},{"title":"2","children":[{"title":"2.dsp <span style='color:#111;'> 4.13KB </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"2.exe <span style='color:#111;'> 180.08KB </span>","children":null,"spread":false},{"title":"vc60.pdb <span style='color:#111;'> 44.00KB </span>","children":null,"spread":false},{"title":"2.pdb <span style='color:#111;'> 361.00KB </span>","children":null,"spread":false},{"title":"2.obj <span style='color:#111;'> 6.76KB </span>","children":null,"spread":false},{"title":"vc60.idb <span style='color:#111;'> 33.00KB </span>","children":null,"spread":false},{"title":"2.ilk <span style='color:#111;'> 179.42KB </span>","children":null,"spread":false},{"title":"2.pch <span style='color:#111;'> 215.05KB </span>","children":null,"spread":false}],"spread":true},{"title":"2.plg <span style='color:#111;'> 864B </span>","children":null,"spread":false},{"title":"2.cpp <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false}],"spread":true},{"title":"chazhao2.dsw <span style='color:#111;'> 512B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明