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
Q1: For a list of length n, the
Q2: When working with the unsorted portion of
Q12: When moving array values for insertion sort,
Q21: During the sorting phase of insertion sort,
Q30: The behavior of merge sort is _
Q34: The behavior of quick sort is _
Q34: Consider the following list:int list[] = {4,
Q35: The top node of a comparison tree
Q38: Which of the following correctly states the
Q38: Suppose that L is a sorted list