Selection Sort Algorithm
SORTING
Sorting is the process of arranging given numbers or elements in ascending or descending order.
Other sorting techniques
- Insertion sort
- Quick sort
- Heap sort
- Bucket sort
- Shell sort
- Radix sort etc.
SELECTION SORT
Algorithm is as follows:
- Find the smallest element in the list and exchange it with element in position (i.e., index) 0
- Locate the next smallest element in list and exchange it with element in position (index) 1.
- Continue until all elements are in order.