我会查看列表剩下的部分,来看看需要交换哪个元素。
I will look at the rest of the list to decide what's the element to swap into the next place.
在服务器上激活自动化测试(查看列表1)。
所以它会查看列表剩下部分,遍历它们,那它要做什么呢?
So it's going to look at the rest of the list, walking along, and what does it do?
I look at the rest of the list to decide what's the element to swap into the next place.
我会查看列表剩下的部分,来看看需要交换哪个元素。
If it was an unordered list, we were basically stuck with linear search. Got to walk through the whole list to see if the thing is there.
如果是一个未排序的列表,基本上我们就只能使用线性搜索了,通过遍历整个列表来查看。
So it's going to look at the rest of the list, walking along, and what does it do?
所以它会查看列表剩下部分,遍历它们,那它要做什么呢?
应用推荐