Multiple Choice
For a list of length n, insertion sort makes ____ key comparisons, in the worst case.
A) n(n - 1) /4
B) n(n - 1) /2
C) n2
D) n3
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: If n = 1000, to sort the
Q7: A comparison tree is a(n) _ tree.
Q8: To construct a search algorithm of the
Q9: In the average case, sequential search typically
Q10: For a list of length n, selection
Q12: When moving array values for insertion sort,
Q13: Let f be a function of n.By
Q14: We can trace the execution of a
Q15: The formula to find the index of
Q16: The swap function of quick sort is