只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2014-04-25 15:19
再見理想
阅读(7)
评论(0)
推荐(0)
摘要:
两分法查找的前提:顺序方式存储,而且必须是排好序直接上代码:function search($array, $target, $low = 0, $high = 0){ $len = count($array); $low = max($low, 0); $high = $high... 阅读全文
posted @ 2014-04-25 12:06
再見理想
阅读(207)
评论(0)
推荐(0)

浙公网安备 33010602011771号