首页 | 本学科首页   官方微博 | 高级检索  
     检索      


Sorting in linear expected time
Authors:M T Noga  D C S Allison
Institution:(1) Lockheed Palo Alto Research Laboratory, 94304 Palo Alto, CA, USA;(2) Department of Computer Science, Virginia Polytechnic Institute and State University, 24061 Blacksburg, VA, USA
Abstract:A new sorting algorithm, Double Distributive Partitioning, is introduced and compared against Sedgewick's quicksort. It is shown that the Double Distributive Partitioning algorithm runs, for all practical purposes, inO(n) time for many distributions of keys. Furthermore, the combined number of comparisons, additions, and assignments required to sort by the new method on these distributions is always less than quicksort.
Keywords:Statistical sorting  hybrid sorting  distributive partitioning  quicksort
本文献已被 SpringerLink 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号