Multiple Choice
In the textbook, we determined that the merge method requires a total of 5n visits. We found that the number of visits required to sort an array of n elements is T(n) = T(n / 2) + T(n / 2) + 5n. What does T(n / 2) describe?
A) the total number of visits to merge sort an array of n elements
B) half the number of visits to merge sort an array of n elements
C) the total number of visits to merge sort an array of n / 2 elements
D) half the number of visits to merge sort an array of n / 2 elements
Correct Answer:

Verified
Correct Answer:
Verified
Q22: Suppose objects a and b are from
Q74: What type of algorithm places elements in
Q75: In big-Oh notation, suppose an algorithm requires
Q76: Consider the swap method shown below from
Q78: Another name for linear search is _
Q80: Which sort algorithm starts by partitioning the
Q82: Assume we are using quicksort to sort
Q83: A portion of your program implements a
Q84: Which function has a faster growth rate:
Q96: Which sort algorithm is used in the