Sorting Algorithms

Selection Sort

  • One can use selection sort to count number of minimum swap required to sort an array with complexity of O(N^2).