摘要:
参考:http://blog.csdn.net/fstar007/article/details/7230659顺序查找算法for折半查找算法 // 二分查找 折半查找 public int SearchErCha(int[] array, int start, int len, int s) { if (len == 0) { return -1; } int center = start + len / 2; if (array[center] == s) { return ce... 阅读全文
posted @ 2014-03-20 22:07
wjw334
阅读(234)
评论(0)
推荐(0)

浙公网安备 33010602011771号