Fast Sorting of Weyl Sequences Using Comparisons

Martin H. Ellis, John M. Steele · SIAM Journal on Computing · 1981

An algorithm is given which makes only $O(\log n)$ comparisons, and which will determine the ordering of the uniformly distributed (pseudo random) Weyl sequences given by $\{ (k\alpha )\bmod 1:1 \leqq k \leqq n\} $, where $\alpha $ is an unspecified irrational number. This result is shown to be best possible in the sense that no algorithm can perform the same task with fewer than $ \Omega (\log n)$ comparisons.

Read the paper · More papers on PaperTik