@inproceedings{f157c0f706b246de8afb8585373bdb21,

title = "Upper Tail Analysis of Bucket Sort and Random Tries",

abstract = "Bucket Sort is known to run in expected linear time when the input keys are distributed independently and uniformly at random in the interval [0, 1). The analysis holds even when a quadratic time algorithm is used to sort the keys in each bucket. We show how to obtain linear time guarantees on the running time of Bucket Sort that hold with very high probability. Specifically, we investigate the asymptotic behavior of the exponent in the upper tail probability of the running time of Bucket Sort. We consider large additive deviations from the expectation, of the form cn for large enough (constant) c, where n is the number of keys that are sorted. Our analysis shows a profound difference between variants of Bucket Sort that use a quadratic time algorithm within each bucket and variants that use a Θ(blog b) time algorithm for sorting b keys in a bucket. When a quadratic time algorithm is used to sort the keys in a bucket, the probability that Bucket Sort takes cn more time than expected is exponential in Θ(nlogn). When a Θ(blog b) algorithm is used to sort the keys in a bucket, the exponent becomes Θ(n). We prove this latter theorem by showing an upper bound on the tail of a random variable defined on tries, a result which we believe is of independent interest. This result also enables us to analyze the upper tail probability of a well-studied trie parameter, the external path length, and show that the probability that it deviates from its expected value by an additive factor of cn is exponential in Θ(n).",

keywords = "Bucket Sort, Running time, Upper tail analysis",

author = "Bercea, {Ioana O.} and Guy Even",

note = "Publisher Copyright: {\textcopyright} 2021, Springer Nature Switzerland AG.; null ; Conference date: 10-05-2021 Through 12-05-2021",

year = "2021",

doi = "10.1007/978-3-030-75242-2_8",

language = "אנגלית",

isbn = "9783030752415",

series = "Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)",

publisher = "Springer Science and Business Media Deutschland GmbH",

pages = "116--129",

editor = "Tiziana Calamoneri and Federico Cor{\`o}",

booktitle = "Algorithms and Complexity - 12th International Conference, CIAC 2021, Proceedings",

address = "גרמניה",

}