Merge Sort
1. Consider the array: A = [9, 100, -1, 4, 8, 6, 9]. How many rounds of splitting (dividing) and how many total split operations are needed to break the array down for merge sort? (A round means all splits at the same level; a split operation means each time an array is divided.)
2. During which step of merge sort does the actual sorting happen?
3. Which of the following best describes how the merge step works in merge sort (for ascending order)?
4. What is the first major operation performed by merge sort on an unsorted array?
5. If the two sorted subarrays [1, 4, 7] and [2, 3, 8] are merged in ascending order, what is the resulting array?
6. Why can a one-element subarray be considered sorted in merge sort?
7. Which recurrence represents the running time of merge sort on an array of elements?
8. Why does merge sort have time complexity even in the worst case?
9. Which statement about the merge phase of merge sort is correct when merging two sorted subarrays?