It refers solely to trees, and Vallombrosa is the place "where th' Etrurian shades / high overarch't imbow'r."
这个比喻指的就是树木,地点是瓦隆布罗萨,“在瓦隆布罗萨,厄特鲁利亚的光辉逐渐暗淡“
So I'm going to check to see if- really can't read that thing, let me do it this way-- right, I'm going to increase the number of compares, and I'm going to check to say, is the thing I'm looking for at the i'th spot in the list?
让我们这样做吧-好-,我会去增加比较次数的计数器,然后去看看在第i处的元素,是不是我要找的呢?,这里s的意思就是,给定数组的?
His adventurous song is one that "with no middle flight intends to soar above th' Aonian Mount, while it pursues things unattempted yet in Prose or Rhyme."
他那具有冒险精神的诗歌,“抛开了中途的旅程,要一飞冲天越过爱奥尼神山,同时追寻使用在未经使用的韵律“
Right, so s of i saying, given the list, look at the i'th element, true is it the same thing?
第2个元素,看他们是不是相等呢?,如果他们相等,好,把答案设置为?
Lisp The problem with that technique, while it's very general, is how long does it take me to find the i'th element of the list?
很多编程语言包括,都是用了这种技术,这个问题就是,当数组很大的时候?
It's looking at the i'th and the i plus first element and it's saying, gee, if the i'th element is bigger than the i'th plus first element, what's the next set of three things doing?
他在观察第i个元素,和第i+1个元素,如果第i个元素大于第i+1个元素,接下来的要做哪三件事情?
So I'm not going to worry whether this item is a vase or a watch or painting I'm just going to say it's the n'th element.
所以我不用担心这个物品,是花瓶还是手表或者油画,我只要说这是第n个元素就好。
With this, if I can assume that accessing the i'th element of a list is constant, then you can't see that the rest of that analysis looks just like the log analysis I did before, and each step, no matter which branch I'm taking, I'm cutting the problem down in half.
读取数组中的第i个元素,是个常量时间的操作的话,我也就能像以前那样得到,这个算法是对数级复杂度的分析,并且每一步不管我选择哪个区间,我都可以把问题的规模缩小一半。
Where n'th is somewhere between and 2 in this case.
而在这个例子中第n个元素,就是2和5之间的一个数。
应用推荐