K-sort:一个新的排序算法,击败堆排序n <= 70万!
K-sort: A new sorting algorithm that beats Heap sort for n <= 70 lakhs!
摘要:
Sundararajan和Chakraborty(2007)引入了一个新版本的快速排序,删除了交换。Khreisat(2007)发现这个算法与其他版本的快速排序竞争得很好。然而,它使用辅助阵列,从而增加了空间复杂度。在这里,我们提供了新排序的第二个版本,其中我们删除了辅助数组。这个算法的第二个改进版本,我们称之为K-sort,发现对于均匀U[0,1]输入的相当大的数组大小(n <= 70,00,000),排序元素的速度比堆排序快。
英文摘要:
Sundararajan and Chakraborty (2007) introduced a new version of Quick sort removing the interchanges. Khreisat (2007) found this algorithm to be competing well with some other versions of Quick sort. However, it uses an auxiliary array thereby increasing the space complexity. Here, we provide a second version of our new sort where we have removed the auxiliary array. This second improved version of the algorithm, which we call K-sort, is found to sort elements faster than Heap sort for an appreciably large array size (n <= 70,00,000) for uniform U[0, 1] inputs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。