• DocumentCode
    3730757
  • Title

    Optimized Selection Sort Algorithm for Two Dimensional array

  • Author

    Sultan Ullah;Muhammad A. Khan;Mudasser A. Khan;H. Akbar;Syed S. Hassan

  • Author_Institution
    Department of Information Technology, University of Haripur, Pakistan
  • fYear
    2015
  • Firstpage
    2549
  • Lastpage
    2553
  • Abstract
    The main idea of Optimized Selection Sort Algorithm (OSSA) is based on the already existing selection sort algorithm, with a difference that old selection sort; sorts one element either smallest or largest in a single iteration while optimized selection sort, sorts both the elements at the same time i.e smallest and largest in a single iteration. In this study we have developed a variation of OSSA for two-dimensional array and called it Optimized Selection Sort Algorithms for Two-Dimensional arrays OSSA2D. The hypothetical and experimental analysis revealed that the implementation of the proposed algorithm is easy. The comparison shows that the performance of OSSA2D is better than OSSA by four times and when compared with old Selection Sort algorithm the performance is improved by eight times (i.e if OSSA can sort an array in 100 seconds, OSSA2D can sort it in 24.55 Seconds, and similarly if Selection Sort takes 100 Seconds then OSSA2D take only 12.22 Seconds). This performance is remarkable when the array size is very large. The experiential results also demonstrate that the proposed algorithm has much lower computational complexity than the one dimensional sorting algorithm when the array size is very large.
  • Keywords
    "Arrays","Sorting","Algorithm design and analysis","Manganese","Mathematical model","Time complexity","Computers"
  • Publisher
    ieee
  • Conference_Titel
    Fuzzy Systems and Knowledge Discovery (FSKD), 2015 12th International Conference on
  • Type

    conf

  • DOI
    10.1109/FSKD.2015.7382357
  • Filename
    7382357