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.
你们可以大体的浏览一下,但是它们基本就是我在那里所做的事情,为两个子列表设置了两个指针,指针顺着列表走下去,找到最小的元素,把它放入到一个新的列表中去,当它走到一个列表的尾部时,它会跳到下部分去,两部分中只有一个会被执行,因为只有一个会有元素剩余。
Time magazine in a sheet that in part when you look on the week of the shooting, their cover story was the monsters next door what made them do that?
时代周刊》专栏有一部分是这么写的,当你回头看枪杀案发生的那一周,他们写的是“隔壁的猛兽“,到底是什么造成他们这样做的?
Part of what we're doing in Princeton everyday is running to the next thing, to the next thing, to the next thing, always remind us on the next thing, and here you take a moment and realize the incredible richness of this moment.
我们每天在普林斯顿,都要奔向下一件事,下一件事,下一件事,总是被提醒着有下一件事,此时,花一些时间,体会到此刻,无可比拟的丰富。
So if you've ever seen or used an old school typewriter, you might recall that when you're typing something out on an old mechanical typewriter, - when you like hit the char-- when you hit the enter key to move the head back to the left hand side to the next line or you would pull down some lever, it was really a two part process.
如果你们有谁曾经看过或用过老式打字机,可能还记得,当你在,这种老式打字机上打字的时候,当你-,敲入回车键,跳转到,下一行的最左边,或者,拉一下杆,这个需要两步走。
So I'm saving this file, notice there is a few keywords that we'll come back to next week like main which is kind of the main part of my program.
保存此文件,注意这有几个关键字,我们在下周介绍,比如代表程序主体部分的“main“
应用推荐