diff --git a/algorithms/quickSort.cpp b/algorithms/quickSort.cpp new file mode 100644 index 00000000..96e88193 --- /dev/null +++ b/algorithms/quickSort.cpp @@ -0,0 +1,52 @@ +#include +using namespace std; + +int partition(int A[],int low, int high ) + { + int pivot = A[low]; + int i = low; + int j = high; + + while(ipivot){j--;} + + if(i>arr[i]; + // } + cout<<"Sorted array: "<