diff --git a/Quick Sort.cpp b/Quick Sort.cpp deleted file mode 100644 index b2bb21a77..000000000 --- a/Quick Sort.cpp +++ /dev/null @@ -1,69 +0,0 @@ -/* C implementation QuickSort */ -#include -using namespace std; - -int partition (int arr[], int low, int high) -{ - int pivot = arr[high]; // pivot - int i = (low - 1); // Index of smaller element - - for (int j = low; j >size; - - int arr[size]; - - cout<<"\nEnter the unsorted elements : "; - - for (int i = 0; i < size; ++i) - { - cout<<"\n"; - cin>>arr[i]; - } - quickSort(arr, 0, size); - cout<<"Sorted array\n"; - show(arr, size); - return 0; -}