文件名称:Template-Binary-Search
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 12kb
- 下载次数:
- 0次
- 提 供 者:
- Bhu****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
The "binary search algorithm" is one of the quickest way for searching threw an array, the "linear search algorithm" makes "n" comparaisons for searching for an element inside a given array. The "binary search algorithm" only makes log2(n) comparaisons for searching that same element,so the "binary search algorithm" is definitly much more quicker than the usual "linear search algorithm" but in order to search threw an array,you need to sort the elements first one of the algorithm available for sorting arrays is the "bubble sort algorithm"
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Template Binary Search\binsearch
......................\Template Binary Search.cpp
......................\Template Binary Search.dsp
......................\Template Binary Search.dsw
......................\Template Binary Search.ncb
......................\Template Binary Search.opt
......................\Template Binary Search.plg
Template Binary Search
......................\Template Binary Search.cpp
......................\Template Binary Search.dsp
......................\Template Binary Search.dsw
......................\Template Binary Search.ncb
......................\Template Binary Search.opt
......................\Template Binary Search.plg
Template Binary Search