But road travel from the sites remains difficult. The general says there are more than 1,400 flights on a waiting list to land in Port-au-Prince.
VOA: standard.2010.01.21
Ignore this one here 'cause this is when I was just writing down the original list of size 1.
暂且忽略这个,因为它是大小为1的列表中的元素,我只是把它写下来而已。
Well, notice again, on each level of the tree, when I actually do the merging, so this remember, is when I wrote down just the numbers when I bottomed out with the list of size 1.
请注意,在这棵树中的每一层,我真正做合并时,就将每个大小为1的列表中的,数字写下来。
So I'm first going to look for something that's not in the list, I'm going to see, is minus 1 in this list, so it's going to be at the far end, and if I do that in the basic case, bam.
如果我试试第一种最基本的方法,噢,一下就完成了对不对?,因为这种方法查了下第一个元素,然后发现目标数比较下,因为目标数小于第一个元素。
And it is not until King David, 200 years later that, in fact, we will read about the capture of Jerusalem. Judges 1 gives a long list of the places from which the Canaanites were not expelled.
但那事实际上是在大卫王时,200年后,我们将读占领耶路撒冷,《士师记》第1章有长列表,列出了那些迦南人未被驱逐的地方。
Just to give you an example, here's one list, 1 2 4 30 3121724 Here's another list, 12430.
举个一例子来说,一个列表:3,12,17,24,另一个列表:
Whereas the list assignment you see here did not rebind the object l 1, it changed this. OK?
并没有对包含1的对象做重新绑定,所以这有所改变,对不对?
So at the moment left hand is at the start of this list of size 1, my right hand is at the start of this list of size 1, and now I need to merge these two lists.
现在左手手指指向这个大小为1的列表的开始,右手手指指向这个大小为1的列表的开始,现在我需要合并这两个列表。
Sure. So that says one should be the first element in my merge list.
所以可以确定1应该是合并后的,列表的第一个元素。
Here is the left half of the left half which is a trivial list of 1.
这是左半部分的左半部分,是一个大小为1的列表。
Here is the right half of the left half, trivial list of 1.
这是左半部分的右半部分,其大小为。
Divide each of these into a list of size 1, done.
将它们划分为只有1个元素的序列,好了。
So this is to test whether a list is a palindrome.
我们可以把1放到数组里面作为第一个元素。
And this is now consistent with my claim that I have sorted a list of size N equals 1.
这与我之前所说的是一致的,我已经将N为1的一个序列排好了序。
OK, for example, I might say point p1 is that list, x is 1, y is 2.
和y坐标的数组是很简单的1,那么,例如,我可能会说点。
I now have a list of size 1 so N is, in fact, less than 2.
现在序列的大小是1,可见N小于。
Let's suppose, we'll start with the list, I'll call it l 1. This, by the way, is a really bad thing I just did.
让我们假设有一个名为l1的数组,顺便说下,这真是挺糟糕的。
You'll notice I have the string with the number 1 MIT a string with MIT, and then it just a plain old number, not a string, again it didn't quite give me 3.3 for reasons we've talked before, a and now it in the list a.
你们可以看到这儿有个以字符串1,形式显示的数字1,1个字符串,还有一个非字符串形式的平常数字,结果并不是3。3,原因之前我们,已经讨论过了,还有一个在list中的。
What was-- what's really bad about calling a list l 1?
为什么把一个数组,命名为l1很糟糕呢?
You can also assign to a list, or to an element of a list. So ivy sub 1, f -15 or example, could be assigned minus 15, and that will actually mutate the list.
此外你还可以给一个数组,或者数组内部的元素赋值,比如ivy。sub,可以被赋值为,这确实改变了数组。
应用推荐