From a7e8c92b3950c15e34241251f063ecd9ebed1a0a Mon Sep 17 00:00:00 2001 From: Anup Kumar Panwar Date: Tue, 6 Sep 2016 14:24:42 +0530 Subject: [PATCH] Merge Sort --- Quick Sort.cpp | 69 -------------------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 Quick Sort.cpp 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; -}