Selection Sort is an sorting algorithm, which means it requires a minimal amount of extra storage.
The algorithm operates by selecting the element and rearranging the elements within the same array.
In Selection Sort, how is the list divided during the sorting process?
Array
Selection Sort is a sorting algorithm.
What is a significant disadvantage of Selection Sort?
Selection sort
The time complexity of selection sort is O(n²) in all cases—best, average, and worst. This is because selection sort always performs a linear scan to find the minimum for each position in the array.
Selection sort always performs a linear scan to find the element for each position in the array.
In-place sorting
Why is selection sort considered inefficient for large datasets?
Quadratic time complexity
What is the time complexity of selection sort in all cases?
Unsorted region
In the selection sort algorithm, what does the term 'min_index' represent?