This year,the members are required to list the nominated films in the order of the ones they like best.
VOA: special.2010.03.01
These are sort of the cells, if you like, in memory that are holding the elements of the list.
记忆就像是数组中的元素,我们之前说的是,我在这里开始并且比较。
so she made up her art gallery where there were a bunch of like these old B-list movie posters.
所以她开了自己的美术馆,那里有很多古老的B级电影的海报。
has something listeners like. It is on Billboard's list of hot one hundred songs based on radio play.
VOA: special.2009.11.20
If I do this, try and get the 10th element of a list that's only eight long. I get what looks like an error, but it's actually throwing an exception.
如果我来这么做,试着去取长度为8的列表的第十个元素,我貌似能得到一个错误。
Yes,it was a buy off. The employee put us at the top of the list for a table instead of making us wait like everyone else.
VOA: special.2009.10.18
So, whether or not the email is addressed specifically to you in like the two field or if maybe you were BCC'd or it's a big email list of which you're just part, that could signify that this is in fact useful for you.
所以,不管这个邮件是不是,单独发给你的,或者这个邮件有一个大的邮件列表,而你正在其中,其实这也暗示了,这个邮件对你是有用的。
You could make a long list but it might include things Like the capacity for language and higher thought or abstract thought, conscience, self-control, free-will.
你也许能列出一个长单子,它可能包括以下东西,比如语言能力,高级或抽象思维能力,良心,自控力和自由意志。
Things like heart disease and cancer are down the list.
像心脏病和癌症占的比例很小
He's like a B-list actor at best.
他应该是二线演员里最好的。
And that's like kind of hoping that the element you're searching for is the first in the list and the last in the list. Maybe.
也就是希望要找的元素,在数组的头部或者尾部,情况可能是这样的。
So let's think about lists. So if l is a list, l sort I can call something like s dot sort, l dot sort.
所以让我们想想链表,所以如果l是一个,链表我可以调用像是s,sort的函数。
Disgust is one of them and it is universally elicited by certain things like this list.
反感就是其中一种,引起反感的原因都一样,包括以下所列出来的。
What's the last element in the list look like?
列表中最后一个元素是什么样呢?
This is a food, a common food that most people would recognize, and I'd just like to see if you could guess what it is from the list of ingredients, so take a moment to look at the list of ingredients and then I'll see if you can guess.
这是一种食品,一种大多数人都见过的普通食品,我想看看,大家能否通过配料表猜出这是什么食品吗,所以,花点时间来看看这张配料表,看看大家能不能猜出来
Well, that program was interesting because it had an inventory which was implemented in Scratch with a list which is kind of like a container that you can add things to again and again.
那个程序很有趣,它有一个用Scratch做出来的清单,还有一个貌似容器的列表,你可以不断往里面加东西。
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个元素,是个常量时间的操作的话,我也就能像以前那样得到,这个算法是对数级复杂度的分析,并且每一步不管我选择哪个区间,我都可以把问题的规模缩小一半。
b OK. In this example I'd use b. All right, as b get-- b is the thing that's changing as I go along here, but it could be things like, how many elements are there in a list if the input is a list, could be how many digits are there in a string if the input's a string, it could be the size of the integer as we go along. All right.?
好,在这个例子里我会用,因为b是一直在变的东西,但是也可能是如下情况:,如果输入是数组的话,变化的就是数组的元素数,如果输入是字符串的话,变化的就是字符串的长度,如果是integer的话,可能就是这个数的大小,对不对?
应用推荐