Merge Sort
1. Which of the following is an array that does NOT have all elements of the same type?
2. Which of the following arrays is sorted in descending order?
3. Consider the following arrays: A = [5, -5, 10, 1] and B = [0, 100, 1, 0]. Which of the following arrays shows all elements from both arrays combined and sorted in ascending order?
4. If you repeatedly split an array into a fixed number of smaller parts at each step, how does increasing the number of parts you split into at each step affect the total number of splitting rounds needed to break the array down? (Assume you always split into the same number of parts at each round.)
5. In merge sort, why are the elements repeatedly divided until the subarrays contain only one element?
6. For an array containing elements, approximately how many splitting levels are required in merge sort to reach subarrays containing one element?
7. Which statement describes the base case of the recursive division process in merge sort?
8. When merging two sorted subarrays in ascending order, which operation is repeatedly performed?
9. Which expression best represents the worst-case time complexity of merge sort for an array containing elements?