Well I have to go to the zero-th element, and say OK, gee, to get to the next element, I've got to jump this here. And to get to the next element, I've got to jump to here, and to get to the next element, I've got to jump to here, until I get there.
再回到第0个元素,好的,然后找下一个元素,跳转到这里,然后再下一个元素,跳到了这里,然后再下一个元素,直到我找到那个元素,这样,我有方法来保存变长的元素。
It's looking at the i'th and the i plus first element and it's saying, gee, if the i'th element is bigger than the i'th plus first element, what's the next set of three things doing?
他在观察第i个元素,和第i+1个元素,如果第i个元素大于第i+1个元素,接下来的要做哪三件事情?
应用推荐