首页> 外文期刊>International journal of computing & information technology >UNIDIRECTIONAL TWO-WAY SORTING: THE IMPROVED WORST CASE PERFORMANCE OF O(N~2) SORTING ALGORITHMS
【24h】

UNIDIRECTIONAL TWO-WAY SORTING: THE IMPROVED WORST CASE PERFORMANCE OF O(N~2) SORTING ALGORITHMS

机译:单向双向排序:改进的O(N〜2)排序算法的最坏情况性能

获取原文
获取原文并翻译 | 示例
       

摘要

Choosing appropriate sorting algorithm in any programming language is an important issue. Several sorting algorithms have been suggested in the area of Data Structure design. Each algorithm has its own strengths and shortcomings. Therefore, providing an appropriate algorithm is too critical and may lead to an increase in performance. In order to clarify the suggested algorithm and improvements in this area, we conclude discussion with a summary on our evaluations. In this paper I developed a Unidirectional Two-Way sorting algorithm, which out beats all other O(n2) sorting algorithms like Bubble sort, Cocktail sort, Selection sort and Insertion sort for average and worst cases. We also give a time complexity analysis of the algorithm. Major limitation of the algorithm is that best case, average case and worst case behavior of the algorithm is same, that is there is no improvement in performance when the array is almost or already sorted.
机译:在任何编程语言中选择合适的排序算法是一个重要的问题。在数据结构设计领域已经提出了几种排序算法。每种算法都有自己的优点和缺点。因此,提供适当的算法太关键,并且可能导致性能提高。为了阐明建议的算法和该领域的改进,我们在总结讨论时总结了我们的评估。在本文中,我开发了一种单向双向排序算法,该算法优于其他所有O(n2)排序算法,例如冒泡排序,鸡尾酒排序,选择排序和插入排序。我们还给出了算法的时间复杂度分析。该算法的主要局限性在于该算法的最佳情况,平均情况和最坏情况的行为是相同的,即在几乎或已经对数组进行排序时,性能没有任何改善。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号