Now, don't be distracted by the fact that they already appear to be sorted.
现在,貌似它们是有序的,但不要被这一事实干扰。
Okay? That will be sorted up, it'll be up there.
明白吗,作业要放整齐,就放在那里
Right, 'cause that means either I've been handed zero elements which mean there's really no work to be done or I've been handed one element which is a vacuous truth that it's sorted, right?
因为如果给出0个元素,那意味着不需要做任何事,如果给出1个元素,那显然,它是有序的,对吗?
It's one element like I claimed before it's sorted and so there's no work to be done.
当有1个元素时,在比较前就知道它是有序的,那就没必要再进行比较了。
This list is sorted, this list is sorted but they could be intermingled.
这个序列是有序的,这个也是有序的,可以将它们组合起来。
Really there's no work to be done if I am handed all in sorted order so, you know, There's no work to be done if I'm handed all of the arrays in sorted order so, you know, if I demand that you give me this assumption that the cups are already sorted and then I'll sort them for you, I mean, this is kind of a cyclical argument.
如果杯子是有序排列的,那就没必要再对它进行排序了,同样如果给出的序列本身就是有序的,那也不必再做什么,如果给出这样的假设:,杯子已经有序,但仍需要对其进行排序,这像是个循环的论点。
应用推荐