diff --git a/quicksort/Python/quicksort.cpp b/quicksort/Python/quicksort.cpp new file mode 100644 index 00000000..06340126 --- /dev/null +++ b/quicksort/Python/quicksort.cpp @@ -0,0 +1,38 @@ +#include +using namespace std; +int partition(int arr[],int p,int q){ +int k=p; +for(int i=p+1;i<=q;i++){ + if(arr[i]>n; + int arr[n]; + for(int i=0;i>arr[i]; + } +quicksort(arr,0,n-1); + for(int i=0;i