Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Quick Sort in C programming language #20

Open
neilchauhan2 opened this issue Oct 26, 2018 · 2 comments
Open

Implement Quick Sort in C programming language #20

neilchauhan2 opened this issue Oct 26, 2018 · 2 comments
Labels

Comments

@neilchauhan2
Copy link
Owner

Implement Quick Sort in C programming language, with well explaining comments. Please make sure the code is easy to understand, since this repo is for beginners. Please create a separate file named, QuickSort.c

@Knee3
Copy link

Knee3 commented Oct 27, 2018

I have created a PR(#32 ), please review it

@riitziiee
Copy link

quickSort(arr[], low, high)
{
if (low < high)
{
/* a is partitioning index, arr[a] is now
at right place */
a = partition(arr, low, high);

    quickSort(arr, low, a - 1);  // Before a
    quickSort(arr, a + 1, high); // After a
}

}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants