#include using namespace std; void quicksort(int input[],int low,int high,int& cnt,int t){ if(low>=high) return ; int mid=(low+high)/2; int pivot=input[mid]; int i=low,j=high; int temp; while(i=pivot && input[j]<=pivot){ temp=input[j]; input[j]=input[i]; input[i]=temp; i++; j--; cnt++; } else{ i++; } for(int i=0;i>t; int input[t]; cout<<"Enter space separated Elements of array : " for(int i=0;i>input[i]; int cnt = 0; quicksort(input,0,t-1,cnt,t); cout<<"\nSorted Input Array is : "; for(int i=0;i