摘要:
1 #include"iostream.h" 2 3 int BinarySearch(int a[],int left,int right,const int& x) 4 { 5 if(left<right) 6 { 7 int middle = (left+right)/2; 8 if(x==a 阅读全文
posted @ 2017-10-22 17:16
ChaosBlog
阅读(646)
评论(0)
推荐(0)
摘要:
一、查找方法 顺序查找 折半查找 二叉排序树查找 哈希查找 二、排序方法 直接插入排序 冒泡排序 快速排序 简单选择排序 堆排序 归并排序 基数排序 阅读全文
posted @ 2017-10-22 16:12
ChaosBlog
阅读(167)
评论(0)
推荐(0)