And then you do twenty-plus miles the next day,you sleep in a tent, you gotta wake up and you got to do it again.
VOA: special.2009.11.02
I've got to do another pass. Huh. Sounds like a linear number of times I've got to do- oh fudge knuckle.
冒到最后去,还得再做冒泡,呵,听起来我要做线性次的时间-,哦,胡说八道。
And then, when I got- I'm also going to count how many comparisons I do, just so I can see how much work I do here, and then notice what it does.
并能看到算法干了些什么-,然后是如果这个索引,比数组的大小小的话,就意味着还没检索到数组的最后。
First thing you've got to do is, realize that some of these things are not God-given.
首先你要做的是,意识到这些并不是上帝赐予的
Okay. So here we're going to go-- The gentleman in the orange shirt-- I hate to do this to you but we've got thirty seconds.
好的,接下来我们要,那个穿橙色衣服的先生,我不想这么对你,不过我们只有三十秒了
And so the big issue is -- this is what you must never do, but this is what you got to do if your phalanx is broken.
所以现在的大问题是,这也许是你在战场上永远不能做的事,但你在方阵被打散时不得不这么干
So I got an r- I'll do it the other way around.
我有一个右,我还是反过来吧
What we do--I'll show you how they got their number.
现在,我演示一下如何得到这个数字
Well, start anywhere you want. Breton, which is a language that has nothing to do with French at all-- here, oh I've got a really funny story I was going to tell about a Breton priest, a French speaking Breton priest, but that's for another day.
从哪开始都行,布列塔尼语,这个语言和法语没有任何关系,这,我准备讲一个特别有意思的故事,是关于一个布列塔尼牧师,说法语的布列塔尼牧师,不过这以后再讲了
Whatever you think those are. Here, you might imagine different people disagreeing about-- oh, but throw in something--but if what you want to do is write the great American novel, then you've got the experience of staying up late at night not knowing how to make the plot work out, crushing pieces of paper and throwing them away.
你能想到的都在里面,可能有人不同意-,插入某某东西,比如你想,创作最伟大的美国小说,于是你获得熬夜的体验,纠结于如何构建情节,撕碎稿纸,扔在一边。
Finally, they got Harry Hamlin to do it, who was kind of a B-list sort of guy.
最后他们找了Harry,Hamlin来演,他是一个二线演员。
I'm going to come back to that in a second with that, but I need to do one more example, and I've got to use my high-tech really expensive props. Right. So here's the fourth or fifth whatever we're up to, I guess fifth example.
并且我会用到我的,高科技的昂贵小道具,好,这是第四个还是第五个了?,好,我猜是第五个例子了,这是个被称为汉诺塔的问题。
Everybody's got the sheet there and what I would like to do is just have everyone, all of this--We'll just sing "La" Here. We won't sing the text.
每个人都有一张,我想做的就是让每个人,大家只唱,啦,不用唱歌词
So, we actually met somebody who knew her; and the school is now named after her; but, it's a wonderful, wonderful read, it's just great. My family got a little tired of this and said, "Do we have to--how many more of these places do we have to see in which this woman taught?"
我们碰见一个认识她的人,然后学校也是以她命名,不过那本书真的很好看,就是特别精彩,我家人有点受不了了,然后说"咱还得,到底还得,去多少个这种她教书的地方"
So what the guy would do is he would say okay you've got--if it was local money if it was from this town if it was New Haven money there were New Haven banks the guy would immediately know what it's worth.
所以,那个人将会做的是说,好的,你的钱-如果它是当地货币,如果来自这个城镇,如果是纽黑文的纸币,当时有纽黑文银行,那么这个人将立刻知道它值多少钱。
应用推荐