Question: In Quick Sort, what is the role of the pivot?
Options:
Correct Answer: To divide the array
Solution:
In Quick Sort, the pivot is used to divide the array into two parts: elements less than the pivot and elements greater than the pivot.