In this section, we give a simple algorithm to generate a worst case sequence for
Quicksort for any positive integer n (>1) assuming that pivot element in each pass is the
middle element of the sub array to be sorted . We use an array a[l . .n] to store the sequence .