Can anyone tell me what is meant by "partition" in the above?
It's the partition step of quicksort. If you don't know what that means, you need to do some research and learn how quicksort works. Otherwise an implementation is impossible without stealing code and hoping it's correct.
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401
rubberman
Posting Virtuoso
1,554 posts since Mar 2010
Reputation Points: 277
Solved Threads: 177