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


Exploiting partial order with Quicksort
Authors:R Geoff Dromey
Abstract:The widely known Quicksort algorithm does not attempt to actively take advantage of partial order in sorting data. A simple change can be made to the Quicksort strategy to give a bestcase performance of n, for ordered data, with a smooth transition to O(n log n) for random data. This algorithm (Transort) matches the performance of Sedgewick's claimed best implementation of Quicksort for random data.
Keywords:Internal sorting  Nearly sorted data  Quicksort  Partitioning  Sort-checking  Preconditioning
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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