For a list of length n, the bubble sort makes exactly ____ key comparisons.
A. n(n-1)/2
B. n(n-1)/3
C. n(n-1)/4
D. (n-1)/2
Answer: A
Computer Science & Information Technology
You might also like to view...
What does the type of data displayed in a crosstab query depend on?
A) The intersection of columns and rows B) What the query was based on C) The grouping of the data D) Which aggregate function used when the query was created
Computer Science & Information Technology
The PUCs can regulate the cost of any interstate call that starts in their states.
a. True b. False
Computer Science & Information Technology