对于应用程序,加载一个包含雇员数据的简单表;该表将支持对其任何列进行排序。
For the application, load a simple table with employee data; the table will support sorting on any of its columns.
虽然对大多数历史学家来说,根据重要性对历史原因进行排序的必要性似乎是显而易见的,但这种等级制度引发了严重的哲学难题。
While the need to rank historical causes in some order of importance may seem obvious to most historians, such hierarchies raise serious philosophical difficulties.
每次只能有一列可以进行排序。
Let's do selection and let's do merge sort here on the right just to see what actually happens.
中间进行选择排序,右边进行归并排序,看看会发生什么。
I hope you can see this because I'm going to try and simulate what a merge sort does. I've got eight things I want to sort here, and those initially start out here at top level.
我希望你们认真看,因为我要尝试着模拟出归并排序的操作过程,这里我有八个元素进行排序,第一步是将它们分成两半,对吗?
Well here is my array of 8, you know what, it's too much work to sort all 8.
这是有8个杯子的一个序列,要对这8个杯子进行排序就会花费较大功夫。
应用推荐