【问题标题】:How To Get the Median Of n odd elements using quicksort?如何使用快速排序获得 n 个奇数元素的中位数? 【发布时间】:2010-10-03 04:16:34 【问题描述】: 谁能解释如何改进快速排序算法以找到 n 个奇数的中位数以及该算法的最坏情况是什么?请帮忙。 【问题讨论】: 标签: algorithm sorting median 【解决方案1】: http://en.wikipedia.org/wiki/Selection_algorithm#Partition-based_general_selection_algorithm 【讨论】: