cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Quick Sort
Quick Sort
Mar 15, 2010 at 6:06pm UTC
shane54747
(6)
Implement the quick sort algorithm in C++ as it sorts the following array into ascending order. List the calls to quicksort and to partition in the order in which they occur.
90, 55, 37, 51, 87, 9, 71
How would i go about implementing this in C++.
Any help would be welcome
Mar 15, 2010 at 6:44pm UTC
jsmith
(5804)
The algorithm is given here:
http://en.wikipedia.org/wiki/Quicksort
All you need to do is translate it to C++.
Mar 15, 2010 at 8:33pm UTC
OnymousIllusion
(82)
Here is a way
http://www.cplusplus.com/reference/algorithm/sort/
Topic archived. No new replies allowed.