We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

math.PR

Change to browse by:

References & Citations

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Mathematics > Probability

Title: Relating bubble sort to birthday problem

Authors: Jichu Jiang
Abstract: Birthday problem is a well-known classic problem in probability theory widely applied in cryptography. Although bubble sort is a popular algorithm leading to some interesting theoretical problems in computer science, its relation to birthday problem has not been found yet. This paper indicates how Rayleigh distribution naturally arises in bubble sort by relating it to birthday problem, which presents a novel direction for analysing bubble sort and birthday problem. Then asymptotic distributions and statistical characteristics of bubble sort and birthday problem with very small absolute errors are presented. Moreover, this paper proves that some common optimizations of bubble sort could lead to average performance degradation.
Comments: 8 pages, 2 figures
Subjects: Probability (math.PR)
MSC classes: 60C02 (Primary), 68R02 (Secondary)
ACM classes: G.3; G.1.2; G.2.1
Cite as: arXiv:2404.11170 [math.PR]
  (or arXiv:2404.11170v1 [math.PR] for this version)

Submission history

From: Jichu Jiang [view email]
[v1] Wed, 17 Apr 2024 08:38:57 GMT (221kb,D)

Link back to: arXiv, form interface, contact.