First, it's pointing to the beginning of the list, which initially might be down here at but after a while, might be part way through. And to that, I simply add a halfway point, and then I check.
列表中间的一个部分了,然后我求出列表的中值点,然后看看该点的值是不是等于目标值,如果是的话就完成了,如果不是的话,如果中位值大于我要找的目标值。
But after a while I got really tired of wandering around
但是过了一会儿,我对这么闲逛感到累了,
Now, I could go on right the way through here, but I'm going to stop because it gets to be a bit boring after a while.
我可以就这样一直算下去,但是还是到此为止吧,因为再这样下去会很无聊
应用推荐