- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
查找算法代码(Search algorithm code)
查找算法代码(Search algorithm code)
Searching is to find a particular element of information in a large amount of information. In computer applications, lookup is a common basic operation, such as lookup of symbols in compilers. A data element that identifies a data element by searching the record or data element that determines the value of a keyword equal to a given value in the table according to a given value. The method of finding in a computer is determined by the organization of the records in the table.
In order to find also known as linear search, starting from one end of the data structure of linear table scan, K compared with the given keyword nodes in turn to scan the value, if the same is said to find success; if the end of the scan is still not found the key to K node, said search failed.
Two search requirements in line nodes according to key values in ascending or descending order, K first and middle node keyword with a given value, the intermediate node linear table is divided into two sub tables, if the same search success; if not equal, then the next step is to find the child table is determined according to the comparison results of K and the keywords middle node, this recursion, until find or find the end of the table is found in no such node.
Block search or index lookup, the line is divided into several blocks, stored in the order of data elements in each block is arbitrary, but between blocks according to the size of the key value ordering a key value in increasing order of the index table should be established, in an index table the corresponding linear table a index includes two contents: the key storage domain maximum keyword of the corresponding block; the pointer pointing to the first block chain store domain nodes. Block search in two steps, the first to determine what node to be found, and then find the node in the block.
Hash table lookup is through the key value of the operation of the records, directly find the address of the node, is the
您可能关注的文档
- 印度格列卫价格 新版(The price of new India Gleevec).doc
- 医院肾脏内科(Hospital Nephrology).doc
- 原子核的结合能(Binding energy of nucleus).doc
- 原料库常用小知识(Common knowledge of raw material library).doc
- 医学生考研指导复试赢在细节(Medical postgraduate entrance examination guidance re examination win in detail).doc
- 原生态山茶油(Camellia oil).doc
- 只有5%的人能走完操盘手的5个阶段(Only 5% of them can walk through the 5 stages of the trader's hand).doc
- 原产地品牌认识和创建地理品牌的资产价值(下)(Brand of origin recognizing and creating the value of geographical brand assets (next)).doc
- 员工位和效率低看看这八大原因(Low staff and low efficiency Look at these eight reasons).doc
- 员工守则89381(Employee code 89381).doc
- 查理一世(charles i).doc
- 查出生月份看宝宝健康(Check birth month to see your baby's health).doc
- 查房一百问(One hundred rounds of ward questioning).doc
- 查找漏电办法(Find leakage method).doc
- 查看中职学校创新校企文化融合的教学模式的实践研究全文(View the practice research of the teaching mode of innovation, school enterprise culture integration in secondary vocational school).doc
- 查看蓝屏代码(View blue screen code).doc
- 查看运行程序(View running program).doc
- 查询与视图作业(Query and view jobs).doc
- 杜普蕾emi录音全集(The complete recording of Du Pulei EMI).doc
- 查询语句3(Query 3).doc
最近下载
- 学堂在线网课《生活英语读写》课后作业单元考核答案.docx VIP
- 2025年第42届全国中学生物理竞赛预赛试题(学生版+解析版) .pdf VIP
- 安全牛:API安全技术应用指南(2024版).pdf VIP
- 《NB 35074-2015 水电工程劳动安全与工业卫生设计规范》.pdf
- 2024年浙江省中考统考科学试卷试题真题(含答案解析).pdf VIP
- 《吴门验方》学习笔记.docx VIP
- 新目标大学英语-《综合教学教程》第四册(WELearn答案解析).DOC VIP
- 几何画板在小学数学教学中的应用.pdf VIP
- The Crucible《激情年代(1996)》完整中英文对照剧本.docx VIP
- 2025年河南省高考物理试卷(含答案解析).docx
文档评论(0)