Quick Sort Experiment
1. What is the best-case time complexity of Quick Sort when each partition divides the array into two approximately equal parts?
2. What is the average-case time complexity of Quick Sort when the pivot selection usually produces reasonably balanced partitions?
3. Which situation produces the worst-case time complexity of Quick Sort?
4. Consider the recurrence for Quick Sort. What time complexity does this recurrence represent?
5. In the worst case, Quick Sort can be represented by the recurrence . What is the resulting time complexity?
6. What is the typical auxiliary space complexity of recursive Quick Sort when the partitions are reasonably balanced?
7. In the worst case, what can happen to the auxiliary space used by recursive Quick Sort?
8. Which statement correctly compares Quick Sort with Merge Sort and Heap Sort in terms of standard time complexity?
9. Why does Quick Sort have time when its partitions are balanced?