开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜