Selection sort is a _______ sorting algorithm that repeatedly selects the _______ element and places it at the beginning.
- Comparison, minimum
- Divide and conquer, maximum
- Linear, last
- Simple, middle
Selection sort is a comparison sorting algorithm that repeatedly selects the minimum element and places it at the beginning of the array. This process continues until the entire array is sorted.
Loading...
Related Quiz
- In a priority queue, how are elements arranged for retrieval?
- Metacharacters in regular expressions are special symbols used to represent _______.
- Topological sorting arranges vertices of a directed graph in such a way that for every directed edge from vertex u to vertex v, vertex u appears _______ vertex v in the ordering.
- What is the main goal of the Matrix Chain Multiplication algorithm?
- stack is a _______ data structure that follows the _______ principle.