(三)折半查找法
int Search_Bin(SSTable St
//在有序表ST中折半查找其關鍵字等於key的數據元素
low=
while(low<=high){
mid=(low+high)/
if(EQ(key
else if(LT(key
else low=mid+
}
return
}Search_Bin
(四)B
B
(
(
(
(
(
返回《數據結構》考研復習精編
[
From:http://tw.wingwit.com/Article/program/sjjg/201311/23910.html