"It was good. It was really good." "What did you like about it?" "There was a lot of fighting and stuff.
VOA: special.2010.06.14
I didn't expect it to do this. If you understand why it did what it did, you're half way there.
这样运行的啊,如果你能弄明白为什么,它这么运行,你已经完成了差不多一半了。
You want Indian food, there're a lot of great Indian spots on Ambrose as well. What did you want?
如果你想吃印度菜的话,在阿姆布罗斯有很多印度餐馆。你想吃点啥?
OK, now, if I actually do this, and I'm going to show you the example, I just, what did I type over there, I got p was a c point.
传入了其他的参数,好,现在,如果我,实际上要做这个的话,我要给大家看个例子。
Did I miss one there? This is what may, in fact, happen to you over time.
我错过了什么吗?事实上,这也许就会发生在你身上。
We talked about a few of these last time but I'm sure there's others, so what things did you come up with as you were thinking, anybody?
我们之前谈到过一些,我想一定还有别的,你们想到什么没有,谁来说说看
I'll let you just grok it but you can see it's basically doing what I did over there. Setting up two indices for the two sub-list,it's just walking down, finding the smallest element, putting it into a new list. When it gets to the end of one of the lists, it skips to the next part, and only one of these two pieces will get called because only one of them is going to have things leftovers.
你们可以大体的浏览一下,但是它们基本就是我在那里所做的事情,为两个子列表设置了两个指针,指针顺着列表走下去,找到最小的元素,把它放入到一个新的列表中去,当它走到一个列表的尾部时,它会跳到下部分去,两部分中只有一个会被执行,因为只有一个会有元素剩余。
应用推荐