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, Done
↩Back to find min element
Selection sort repeatedly finds the smallest element in the unsorted part and swaps it to the front, moving the boundary of sorted and unsorted parts forward.