And the change was, that in this case, if I'm doing a single search, I've got a choice.
这个改变是,在这种情况下,如果我要做单一检索,我就面临一个选择。
So instead of doing eight or ten searches looking for the websites you want, you'll find them in just one search.
所以,有了位置搜索功能,不用搜索8至10次,只要搜索一次就可以找到你想要的网站了。
However, you can imagine the improvement in user experience it makes to retrieve the results from each engine simultaneously, instead of doing it one search engine at a time.
不过,可以想象得到同时从每个引擎检索结果为用户体验所带来的改进,而不是每次只从一个搜索引擎检索结果。
It's an example of a very common tool that's going to be really useful to us, not just for doing search, but for doing a whole range of problems. That is, in essence, the template the describes a log style algorithm.
不仅仅是做搜索,还可以解决一整类问题,本质上,这个模板就描述了,对数形的算法,我们一会再回来。
And the change was, that in this case, if I'm doing a single search, I've got a choice.
这个改变是,在这种情况下,如果我要做单一检索,我就面临一个选择。
In binary search-- ah, there's that wonderful phrase, this is called a version of binary search just like you saw bin-- or bi-section methods, - when we were doing numerical things- in binary search, I need to keep track of the starting point and the ending point of the list I'm looking at.
就是当我们处理数字的时候,所称的二分检索,在二分法搜索中,我需要记录区间的开始点和尾点,初始化的时候就是-,问题输入的开始点和尾点,当我开始做测试的时候,我想要做的就是去取中值点。
应用推荐