文件名称:suanfa3
-
所属分类:
- 标签属性:
- 上传时间:2013-07-02
-
文件大小:164.64kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
这题是用分治算法中的折半查找,针对的是一个有序数组,把数组分而治之,把输入分成两个与原来相同的子问题,如果规模还太大,我们对这些子问题再做上述处理,直到这些子问题容易解决为止。这种算法是一种效率很高的算法,每一次循环,它都能将数组的规模减少到原来的半,其空间复杂度是O(log(n))次。-This question is divide and conquer algorithm binary search is for an ordered array, the array of divide and rule, the same as the original input is divided into two sub-problems, if the scale is too large, we do the above for these sub-problems processed until these sub-problems easier to solve so far. This algorithm is a very efficient algorithm, each time through the loop, it can reduce the size of the array to the original and a half, its space complexity is O (log (n)) times.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
suanfa3/Debug/vc60.idb
suanfa3/Debug/vc60.pdb
suanfa3/Debug/w.exe
suanfa3/Debug/w.ilk
suanfa3/Debug/w.obj
suanfa3/Debug/w.pch
suanfa3/Debug/w.pdb
suanfa3/w.cpp
suanfa3/w.dsp
suanfa3/w.dsw
suanfa3/w.ncb
suanfa3/w.opt
suanfa3/w.plg
suanfa3/Debug
suanfa3
suanfa3/Debug/vc60.pdb
suanfa3/Debug/w.exe
suanfa3/Debug/w.ilk
suanfa3/Debug/w.obj
suanfa3/Debug/w.pch
suanfa3/Debug/w.pdb
suanfa3/w.cpp
suanfa3/w.dsp
suanfa3/w.dsw
suanfa3/w.ncb
suanfa3/w.opt
suanfa3/w.plg
suanfa3/Debug
suanfa3
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.