diff --git a/Quick Sort in C++ b/Quick Sort in C++ new file mode 100644 index 0000000..1ccb638 --- /dev/null +++ b/Quick Sort in C++ @@ -0,0 +1,47 @@ +//QuickSort in C++ +#include +using namespace std; + + +int Partition(int *A, int start, int end) +{ + int i; + int pivot=A[end]; + int part_i=start; + for(i=start; i>n; + cout<<"Enter the elements:"<>arr[i]; + + quicksort(arr,0,n-1); + for(i=0;i