OK? Because what am I doing? It's called bubble sort because it's literally bubbling along, right?
明白了么?你要知道我在做什么,冒泡排序真的就像冒泡,对么?
Am I going to a class? Oh no. Ok, so the program that I'm in is, it's a program for undergraduate.
去上课?不是。我参加的是一个本科生的项目。
So first of all, I've got to be careful about the end test. But the second thing is, OK, if it stops whenever this is less than two, am I convinced that this will always halt?
小心最后一次比较,其次,如果少于两个元素程序停止了,我们能确信这总是应该终止的么?,答案是肯定的,因为我在做什么?
The final and the fifth premise is an important one; is a philosophical one but one I want to introduce at the beginning of the course so that you understand where I am coming from, where this course is coming from-- because many people say, "Ok, so happiness is important.
最后也是第五个前提很重要;,是一个哲学前提,但我想在课程开始时介绍,你们好理解我讲课的起源,这门课程的来源-,因为很多人说,好的,快乐是重要的。
OK. What am I doing?
我还是希望你们可以理解?
OK, so let me go back to where I am.
好,那么让我回到刚才说的地方。
OK. Here's the story as I am told it.
在河内的中部有个寺庙。
And keep going, until the square of one of those integers is greater than or equal to - sorry, just greater than x. OK, why am I doing that? When I get greater than x, I've gone past the place where I want to be.
如果还是比x小的话,跳到3,这么继续下去,直到一个整数的平方大于或者等于,对不起,是大于x,好,为什么我要这么做呢?,让我得到的整数的平方和。
应用推荐