Seventeen against thirty, twenty-four against thirty And by this stage I've got nothing the rest of that list in.
这个列表中已没有任何元素了,那么我可以将那个列表里剩下的元素,添加进去。
It took me seven comparisons, because I can take advantage of the fact I know I only ever have to look at the first element of each sub-list. Those are the only things I need to compare, and when I run out of one list, I just add the rest of the list in.
进行了7次对比,因为我可以利用我知道的优势:,每次只需要比较每个子列表的第一个元素,那才是我需要进行对比的内容,当一个列表的元素处理完了,只需要将另一个列表剩下的元素直接添加进去。
应用推荐