Selection Sort
Divides the array into sorted and unsorted regions, repeatedly finding the minimum from the unsorted region.
Time ComplexityBestO(n2)AvgO(n2)WorstO(n2) Max OperationsWorst-case bound2n(n−1) Used for efficiency calculation in Stats Panel
Space ComplexityAuxO(1) In-place — only a temp swap variable