Selection Sort Algorithm

SORTING

Sorting is the process of arranging given numbers or elements in ascending or descending order.

sorting techniques

Other sorting techniques

  • Insertion sort
  • Quick sort
  • Heap sort
  • Bucket sort
  • Shell sort
  • Radix sort etc.

SELECTION SORT

Algorithm is as follows:

  1. Find the smallest element in the list and exchange it with element in position (i.e., index) 0
  2. Locate the next smallest element in list and exchange it with element in position (index) 1.
  3. Continue until all elements are in order.

selection sort

Gopal Krishna

Hey Engineers, welcome to the award-winning blog,Engineers Tutor. I'm Gopal Krishna. a professional engineer & blogger from Andhra Pradesh, India. Notes and Video Materials for Engineering in Electronics, Communications and Computer Science subjects are added. "A blog to support Electronics, Electrical communication and computer students".

Leave a Reply

Your email address will not be published. Required fields are marked *

Translate »