The next line says alright, suppose I don't, I'm not at the last element.
下一段说的是,好的,假设我不能放进去,我也不是在看最后一个元素。
I don't know if you heard this morning, but there was news of the discovery of yet one more element.
我不知道你们今早听说了没,有一个新发现,一个新的元素的发现。
When you are searching a list to see whether it has an element, you don't randomly probe the list, hoping to find whether or not it's there.
当我们在一个数组中,寻找目标元素的时候,我们不会随机的调查数组来看。
If we build an engine for a car or anything else, it almost always is going to have some key element that's operating in a cycle, otherwise it won't keep going, right.
如果我们为一辆汽车,或其他什么东西制造一台引擎,它总要有一些关键,要素来形成循环。
Today we know, for example, if you can put one certain kind of element in your mouth or eat that, it doesn't necessarily mean you want to put the element next to it and your mouth as well, that might not be safe.
现在我们知道了,比如,即使你能把某一种元素放进嘴里,或者吃下去,这也并不一定意味着,你会把它邻近的元素也吃进嘴里,这可能会有危险,但。
No, they weren't like that, the Greeks were ahead of them and it's evident that they borrowed stuff from the Greeks in every element of life, although it didn't shape their lives in a potent, fundamental way.
不,他们不是文明的,希腊人比他们先进,也有证据表明,他们从希腊人那里学习了生活中的各种东西,虽然这些并未从根本上,有力地改变他们的生活
So, it is from the beginning a society in which the community is a critical element, maybe the critical element, an individual who didn't live in a society could not achieve the kinds of glory and fame,and recognition that you expect from a hero.
所以,它最初是这样一个社会,在这个社会中,集体是一个关键性元素,也许是唯一的关键性元素,一个没有社会生活的个人是得不到,荣誉,名望,赏识,这些英雄们才能拥有的东西的
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个元素,是个常量时间的操作的话,我也就能像以前那样得到,这个算法是对数级复杂度的分析,并且每一步不管我选择哪个区间,我都可以把问题的规模缩小一半。
应用推荐