So it's certainly at least linear in the length of the list. For each starting point, what do I do?
它至少是线性的计算列表的长度,每次到了循环开始的点?
You can use it to describe or to ask questions about distance, about a length of something.
你可以用它来询问路程或者东西的长度。
Still quadratic, right? I'm looking for the worst case behavior, it's still quadratic, it's quadratic in the length of the list, so I'm sort of stuck with that.
还是平方,对吧,我在寻找最坏的情况,它还是平方,它是列表长度的平方,我对此有点无奈了。
So 1.1 times 10 to the -31 meters is not, in fact, a significant number when we're comparing it, for example, to the length of a ball, or the size of the baseball field.
所以1,1乘以10的负31次方米,事实上并不是一个很重要的数字,举例来说,当它与一个球的长度,或者一块棒球场地对比时。
A magnitude is how long this guy is and direction is at what angle it is.
大小是指它的长度,而方向是指它与坐标轴的夹角
Hmm. Well, wait a minute. If I want to sort a list, I'll take one element, I've got to look at probably a lot of the other elements in the list in order to decide where it goes. And that suggests it's going to depend on how long the list is.
我会取一个元素,然后去查看列表,来决定要把那个元素放到哪里,这就意味着它依赖于列表的长度,对,这没什么说服力,但是事实上。
It says if I want to get the length of a segment, going to pass in that instance, it says from that instance, get the start point, that's the thing I just found.
它的意思是如果我想要,得到一个线段的长度,首先要把这个实例传进来,然后对于这个实例,从开始点,取得x坐标,然后通过同样的操作。
应用推荐