English

Sorting a Low-Entropy Sequence

Data Structures and Algorithms 2007-05-23 v1

Abstract

We give the first sorting algorithm with bounds in terms of higher-order entropies: let SS be a sequence of length mm containing nn distinct elements and let (H_\ell (S)) be the \ellth-order empirical entropy of SS, with (n^{\ell + 1} \log n \in O (m)); our algorithm sorts SS using ((H_\ell (S) + O (1)) m) comparisons.

Keywords

Cite

@article{arxiv.cs/0506027,
  title  = {Sorting a Low-Entropy Sequence},
  author = {Travis Gagie},
  journal= {arXiv preprint arXiv:cs/0506027},
  year   = {2007}
}