Concept Flow - Selection Sort Algorithm
Start with unsorted array
Set i = 0 (start index)
Find min element from i to end
Swap min element with element at i
Increment i
Is i < array length - 1?
No→Sorted array ready
↩Back to find min element
Selection sort repeatedly finds the smallest element from the unsorted part and swaps it with the first unsorted element, moving the boundary forward until the array is sorted.
