Sorting Algorithms.
Selection Sort Selection sort is a simple and intuitive sorting algorithm that works by repeatedly selecting the smallest (or largest) element from the unsorted part of the array and swapping it with the first unsorted element. It is called the “selection” sort because, at each step, it selects the