I want to modify QuickSort (in Java) so that every time Partition is called, the median of the proportioned array is used as the pivot.
I have a median selection algorit
Note that in PARTITION the pivot is A[r].
PARTITION
pivot
A[r]
public int QUICKSORT2(int[] A, int p, int r) { if (p