For Hebrew, I know one sentence in Hebrew: "Sleecha, eypho ha-sheeruteem" which I think is a request for the bathroom.
我知道一句希伯来语,"请问,卫生间在哪里",我猜这话的意思是想去卫生间了
Ah. So which one's better? Yeah. Ah-ha.
谢谢,再想一会。
I don't know that I've ever had what I would call an Ah-ha intellectual moment.
我感觉自己从来没有过,那种突然间豁然开朗的时刻。
Here's 0, 1, 3, ah-ha, here's 4, 5, 6 what is there?
这里是0,1,3,啊哈,这里是4,5,6,哪里是什么东西?
Ah-ha. Notice what-- where am I, here- notice what happened in this case.
啊哈,看见了什么?,在哪里呢,在这儿。
Ah-ha! And let's quickly look at the structure of this.
啊哈!让我们快速的,来看看代码的结构。
Here's another one. Ah-ha!
这是另外一个,啊哈!
Yeah. Log. It's a good think, but why do you think it's log? Ah-ha. It's not a bad instinct, the length is getting shorter each time, but what's one of the characteristics of a log algorithm? It drops in half each time.
对了,对数,这是个好想法,但是你们为什么认为是对数呢?,啊哈,这样的本能不错,每次长度都会缩小些,但是对数算法的特性是什么。
Ah-ha. What does that say to do? It says, 3 gee, make min index point to there min value be 3. Change j. Is 6 bigger than 3?
啊哈,这该怎么处理呢?,让MinIndex指向那里,MinVal是,改下j值,6比3大么?
And notice, by the way, if I do that, and I type sqrt and open the paren, ah-ha! It shows me what the creator, in this case actually I stole this from John so what Professor Guttag put up as his specification for this piece of code.
它需要什么养的输入和其它我想传达的信息,如果我这么做了,我将会到这里打上sqrt并且加上括号,啊哈!这里告诉我这段程序的创建者,事实上这是我是从约翰那里偷来的,所以也就是Guttag教授在它的。
应用推荐