文件名称:zhebanchazhao
介绍说明--下载内容均来自于网络,请自行研究使用
首先,假设表中元素是按升序排列,将表中间位置记录的关键字与查找关键字比较,如果两者相等,则查找成功;否则利用中间位置记录将表分成前、后两个子表,如果中间位置记录的关键字大于查找关键字,则进一步查找前一子表,否则进一步查找后一子表。重复以上过程,直到找到满足条件的记录,使查找成功,或直到子表不存在为止,此时查找不成功。
-First of all, table of the elements are assumed to be in ascending order, key comparison and keyword search will form the middle position of record, if the two are equal, find success otherwise use the middle position record will form is divided into two sub table before, after, if the intermediate position records of keyword to keyword search, a further search before the child table otherwise the search further, after a child table. Repeat the process, until you find the satisfied records, to find success, or until the child table does not exist now, the search is not successful.
-First of all, table of the elements are assumed to be in ascending order, key comparison and keyword search will form the middle position of record, if the two are equal, find success otherwise use the middle position record will form is divided into two sub table before, after, if the intermediate position records of keyword to keyword search, a further search before the child table otherwise the search further, after a child table. Repeat the process, until you find the satisfied records, to find success, or until the child table does not exist now, the search is not successful.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zhebanchazhao.c
二分查找.txt