Selection Sort Program and Complexity (Big-O)
Selection Sort Program and Complexity (Big-O)
Selection sort is a simple sorting algorithm, it’s also known as in-place comparison sort. In selection sort algorithm, sorts an array of items by repeatedly finding the minimum item from unsorted part of array and move it at the beginning. This algorithm considers two sub arrays in a given array.
The sub array of already sorted items.
Remaining sub array unsorted items.
Points to remember
Data…
View On WordPress















