Sorting a Low-Entropy Sequence
arXiv:cs/0506027
Abstract
We give the first sorting algorithm with bounds in terms of higher-order entropies: let be a sequence of length containing distinct elements and let (H_\ell (S)) be the th-order empirical entropy of , with (n^{\ell + 1} \log n \in O (m)); our algorithm sorts using ((H_\ell (S) + O (1)) m) comparisons.