2024年12月19日
摘要: 折半查找(二分查找) int Binary_Search(SSTable L,ElemType key){ int low=0,high=L.TableLen-1,mid; while (low<=high) { mid=(low+high)/2; if(L.elem[mid]==key) retu 阅读全文
posted @ 2024-12-19 09:02 蒸饺 阅读(32) 评论(0) 推荐(0)