And one day, outof the blue clear sky, I got a letter from Jenny wondering if I couldcome down to Savannah and see her, and that'swhat I'm doing here.
VOA: standard.other
So let's take a look down here at what I'm doing and notice here that this is perhaps more compelling; right?
让我们往下看一下我在做什么,请注意这里这个可能是更引人入胜的,对不?
so I'm able to come down here and go for a skate.
所以我可以到这里滑冰。
Yeah. So the answer, in case you didn't hear it, was, again, if I'm a gambling person, I could start like a way down here.
答案是,如果我是一个赌徒,我可以再这边开始对不对?,如果我在赌博,我会说,嘿。
the -- no, I'm not going to cool down, 3 in this case here.
一步,路径。
In principle, we could play this with the whole class, but let's single out a particular row of the class so I'm going to come down here and I guess eventually, well I'll grab it in a minute.
理论上,我们可以全班一起做这个博弈,但我要选出特定的一行,我先走下来,我觉得,我很快就能挑到人
I'm come down here on a train from Bedford.
我从贝德福德坐火车来的。
I'm out of numbers here, so now I can blindly write down the rest of these numbers.
这儿再没有数字了,所以我可以直接,将剩下的这些数字写下来。
a I'm not, so come down here check palindrome that the two end points a and a are the same and call this again also.
判断两端都是,然后再次调用,注意发生了什么。
And in fact, if you look down- and I'm just going to highlight this portion, I'm not going to run it- but if you look down here, that's exactly what that does.
实际上,如果你往下看-,我正要强调这一部分,我不会去运行它-,但是如果你看看这儿的话,这个方法确实就是这么做的。
OK, here we go, here we go, you see, I'm doing it down here, I can't see it, does that-- ah, I hear his sighs of relief, OK, good. There we go. Better. All right.
好,我们开始,大家可以看到,我在这里写这个程序,我看不见,这是不是-啊,我听到大家放松的叹气了,好,让我们开始吧,好多了,好。
It's not that hard, and in particular, notice that all I'm doing here is writing down notation.
这没有你想象的那么难,我只不过写下了一些符号
Sorry I'm not making this easy for Jude, let me just stay down here.
抱歉这样做对裘德不方便,让我下来这边吧
I'm going to call it down here with search, which is simply going to call it, and then print an answer out.
然后返回答案,在二分法搜索中,其实有个挺美妙的名称。
You could put everything on this line, I think there may be, I'm not really allowed to do this on this model, the one thing I can't do is, part of the truth is that Bud Light might be down here somewhere but I'm not allowed to do that.
你可以把任何东西放在这条线上,我想那也许是,我实际上并没有权利在这个模型中这么做,我不能做的是,起码百威淡啤酒应该在这上的某个位置,但我没权利这么做
What happened? I'm down here and try, I'm trying do get grades, which is a call to that function, which is not bound in my computer.
尝试着读取成绩,这被称为函数,是不被我的计算机局限的。
PROFESSOR: No. I'm entering -- well, let's look at the example right down here.
教授:弄,我是通过,好,让我们来看看下面的例子吧。
I'm going to open up a program called positive1.c. I'm going to scroll down to the juicy part here.
我将要打开一个叫做positive1,c的程序,我们翻到这个有趣的部分。
At each stage, no matter which branch, here or here, I take, I'm cutting down the length of the list that I'm searching in half. All right?
选的是这里还是那里,我总是把列表分成两半,对吧?,所以如果我处理一个长度为n的列表?
Harvard All right, I then get down here where I'm going to remove it.
让我们看看,额,怎么去删除,好,先到这儿来,然后remove掉它。
Now, just to repeat, again I know I've got some math phobics in the audience, let me just slow down a second, all I'm doing here is I'm saying look at this equation of the pink line, look at this equation of the blue line, X is when they cross, i.e., they are equal to each other.
我再重复一遍,我知道你们之中有些人数学不怎么好,我放慢一点说,我是这么解的,看这条粉线的方程,还有这条蓝线的方程,X是二者的交点,也就是说这点两个方程相等
应用推荐