采用选择投票制,选民可在选票上根据喜好程度为候选人排序。
Under the alternative vote system, voters would be invited to rank candidates on the ballot in order of preference.
虽然对大多数历史学家来说,根据重要性对历史原因进行排序的必要性似乎是显而易见的,但这种等级制度引发了严重的哲学难题。
While the need to rank historical causes in some order of importance may seem obvious to most historians, such hierarchies raise serious philosophical difficulties.
个人姓名也很少作为单位标记。例如,有时您可能希望根据名称进行搜索或排序,有时则希望根据姓氏进行搜索或排序。
A personal name is also rarely an atomic token. As an example, sometimes you may want to search or sort by a forename and sometimes by a surname.
Run merge sort on those. By induction, if it does the right thing, I'm going to get back two lists, and I'm going to then merge Them together. Notice what I'm going to do.
在这些上面再运行归并排序,根据归纳,如果这样是正确的,我将重新得到两个列表,然后我会把它们合并在一起。
So supposed that I give you 16 elements to sort, well, following the logic before, the running time involved in sorting 16 elements is gonna be twice the running time 16 of sorting 8 elements, left half and right half plus 16 - and again, a little sanity check, 16 means-- just the merge steps, right?
现在要对16个元素进行排序,根据之前的逻辑,对16个元素排序,要花的时间是对8个元素排序所花时间的,2倍,分别用于左半部分和右半部分,再加上6,这里16是-,做合并的步数,对吗?
应用推荐