anyone tell me the easiest way to understand the quick sort
Here are some notes from a lecture on it: http://www.cs.duke.edu/~reif/courses/alglectures/skiena.lectures/lecture5.pdf Wikipedia has an animated example, and some other good notes on it: http://en.wikipedia.org/wiki/Quicksort Go through those, then ask about any parts you still find confusing.
This video is interesting too to get an bird's eye view of the algorithm. http://www.youtube.com/watch?v=t8g-iYGHpEA
That one was neat. Found this one in the related videos: http://www.youtube.com/watch?v=kPRA0W1kECg Good number of sorts there.
It also has a link to a program you can use to see the different sorts with same number of elements, change options, etc.
Join our real-time social learning platform and learn together with your friends!