Program to sort a given array using selection sort
Selection sort works by repeatedly finding the smallest (or largest) element from the unsorted part of the array and putting it in its correct position in the sorted part. Steps: Start with the first element (index 0) as the minimum. Compare it with every element in the unsorted part of the array to find the […]









