Given the fact that a selection sort of n items requires n²/2 + 5 * n/2 - 3 major operations,the selection sort is ______.
A) O(n)
B) O(1)
C) O(n²)
D) O(n²/2)
Correct Answer:
Verified
Q20: Which of the following is NOT part
Q21: A bubble sort requires at most _
Q22: For large arrays,the insertion sort is prohibitively
Q23: In the worst case,a binary search is
Q24: The efficiency of the selection sort depends
Q26: In the best case,a sequential search is
Q27: The quicksort is _ in the worst
Q28: Low-order terms can be ignored in an
Q29: The values of the growth-rate function O(log2ⁿ)grow
Q30: The mergesort is a recursive sorting algorithm.
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents