Question: What is the main purpose of the partitioning step in Quick Sort?
Options:
Correct Answer: To rearrange elements around a pivot
Solution:
The partitioning step in Quick Sort rearranges elements around a pivot to ensure that elements less than the pivot are on one side and those greater are on the other.