Solved

Both the Insertion Sort and the Selection Sort Algorithms Have

Question 39

Multiple Choice

Both the insertion sort and the selection sort algorithms have efficiencies on the order of ________ where n is the number of values in the array being sorted.


A) n
B) n * log n
C) n^2
D) n^3
E) the insertion sort has an efficiency of n and the selection sort has an efficiency of n^2

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents