A fast natural algorithm for searching

Joshua J. Arulanandham, Cristian Calude, Michael J. Dinneen. A fast natural algorithm for searching. Theoretical Computer Science, 320(1):3-13, 2004. [doi]

Abstract

In this note we present two natural algorithms—one for sorting and another for searching a sorted list of items. Both algorithms work in $O(\sqrt N)$ time, $N$ being the size of the list. A combination of these algorithms can search an unsorted list in $O(\sqrt N)$ time, an impossibility for classical algorithms. The same complexity is achieved by Grover’s quantum search algorithm; in contrast to Grover’s algorithm which is probabilistic, our method is guaranteed correct. Two applications will conclude this note.