Question: mplement a basic quick sort algorithm; 2 . Implement three pivot selection strategies: a . Rightmost selection ( always choose the rightmost element as the

mplement a basic quick sort algorithm;
2. Implement three pivot selection strategies:
a. Rightmost selection (always choose the rightmost element as
the pivot)
b. Randomized selection (randomly select a pivot)
c. Estimated median selection (randomly select three elements and
use their median as the pivot)
3. Test each algorithm on the synthetic data and record the running time;
4. Visualize the running time by plotting figure(s) where y-axis is time
and x-axis is data size;
5. Write down a brief report to describe your implementation details and
show the figures.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!