首页    期刊浏览 2024年11月28日 星期四
登录注册

文章基本信息

  • 标题:TwoWay Counting Position Sort
  • 本地全文:下载
  • 作者:Nitin Arora ; Ashwani Kumar ; Surinder Pal Singh
  • 期刊名称:International Journal of Research in Computer Engineering & Electronics
  • 印刷版ISSN:2319-376x
  • 出版年度:2013
  • 卷号:2
  • 期号:3
  • 语种:English
  • 出版社:BHOPAL INSTITUTE OF PROFESSIONAL STUDIES
  • 摘要:Sorting is an algorithm that arranges all elements of an array, orderly. Sorting Technique is frequently used in a large variety of important applications to arrange the data in ascending or descending order. Several Sorting Algorithms of different time and space complexity are exist and used. This paper provides a novel sorting algorithm Two Way Counting Position sort, which is a modified version of Counting Position Sort Algorithm and is based on counting the position of each element in array from both the ends. We have also compared the Two Way Counting Position sort algorithm with Counting Position Sort, Bubble Sort and Selection Sort. We have used the MATLAB 8.0 for implementation and Analysis of CPU time taken by all the four Sorting Algorithms. We have checked the algorithms with random input sequence of length 10, 100, 1000, 5000, 10000, 50000. Result shows that for the small length of input sequence the performance all the three techniques is all most same, but for the large input sequence Selection sort is faster than all the three sorting techniques. Results show that Two Way Counting Position Sort is better than Counting Position Sort for all lengths of inputs. Keywords Bubble Sort; Position Sort; Selection Sort; Two Way Counting Position Sort.
国家哲学社会科学文献中心版权所有