Select The Lesson:
Welcome to Online Education Of Sri Lanka
/*eduLanka Online education web site of Sri Lanka -------- w w w . e d u L a n k a . c o m ------------ java programs for University students - who follow courses - BIT - SLIIT and more find more lessons in http://www.it.edulanka.com eduLanka@gmail.com this programs under GNU licence */ import TerminalIO.*; class QuickSort{ public static void main(String []args){ KeyboardReader input=new KeyboardReader(); int n=input.readInt("enter list size : "); int[] Arr=new int[n]; for(int i=0;ipivot) quicksort(array, pivot+1, right); } public static int partition(int numbers[],int left,int right){ int I_hold,r_hold,i; int pivot; I_hold=left; r_hold=right; pivot=numbers[left]; while(left=pivot)&&(left