How To Get the Median Of n odd elements using quicksort?
Can anyone explain how to improve the quicksort algorithm for finding the median of n odd numbers and what will be the worst case scenario 开发者_Python百科for that algorithm? Please help.
http://en.wikipedia.org/wiki/Selection_algorithm#Partition-based_general_selection_algorithm
精彩评论