From 54c36b4d5e4067385e73853ec5d9ed6c735a33b2 Mon Sep 17 00:00:00 2001 From: Paladugu Lekha Ravali <143259177+PaladuguLekhaRavali@users.noreply.github.com> Date: Sat, 28 Oct 2023 16:43:40 +0530 Subject: [PATCH] Create quicksort.c quick sort using recursion in c --- data_structures/array/quicksort.c | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 data_structures/array/quicksort.c diff --git a/data_structures/array/quicksort.c b/data_structures/array/quicksort.c new file mode 100644 index 0000000000..3cf7840f1a --- /dev/null +++ b/data_structures/array/quicksort.c @@ -0,0 +1,52 @@ +#include +void quick( int a[],int first,int last){ + int i,j,pivot,t; + if(firsta[pivot]) + j--; + if(i