Can i ask sample codes for quick sort?

Aug 3, 2011 at 9:27am
i already have build my code but i'm a bit stuck on the quick sort function. can anyone show me some sample codes?
Aug 3, 2011 at 9:50am
Aug 3, 2011 at 9:56am
This might be a good place to start: http://en.wikipedia.org/wiki/Quicksort

Do you know much about recursion? If you don't you may want to read up on it, as quicksort is a recursive algorithm.
Aug 3, 2011 at 10:08am
thanks guys.. ill follow your links,

i have a question.. when using quick sort function does it always use do,do while? and not for loop?
Last edited on Aug 3, 2011 at 10:10am
Topic archived. No new replies allowed.