Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What is the worst-case time complexity of the selection sort algorithm, and what is its primary operation?
O( n ), with the primary operation being comparing elements.
O( n logn ), with the primary operation being merging two sorted halves.
O( n2 ), with the primary operation being swapping adjacent elements.
O( n2 ), with the primary operation being finding the minimum element in the unsorted portion.
O( n logn ), with the primary operation being partitioning.
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!