A desirable choice for the partitioning element in quick sort is
A. First element of the list
B. Last element of the list
C. Randomly chosen element of the list
D. Median of the list
Answer:A
A desirable choice for the partitioning element in quick sort is
A. First element of the list B. Last element of the list C. Randomly chosen element of the list D. Median of the list