摘要: Let Qn be the random number of comparisons made by quicksort in sorting n distinct keys, when we assume that all n! possible orderings are equally likely. Known results concerning moments for do not show how rare it is to make large deviations from its mean. Here give a good approximation probability such deviation, and find this quite small. As well as basic consider variant which partitioning key chosen median (2t+1) keys.