Content deleted Content added
Bender2k14 (talk | contribs) m →Generalization: Finding repeated elements: italicized variables |
Citation bot (talk | contribs) m [344]+: issue, arxiv. |
||
Line 13:
It is known that the problem's [[time complexity]] is [[Big O notation|Θ]](''n'' log ''n''), i.e., both the upper and lower bounds on its time complexity are of order of the [[linearithmic function]] in the [[algebraic decision tree]] [[model of computation]],<ref>[[Michael Ben-Or]], "Lower bounds for algebraic computation trees", Proceedings of the 15th Annual ACM Symposium on Theory of Computing, 1983, pp. 80-86</ref> a model of computation in which the elements may not be used to index the computer's memory (as in the hash table solution) but may only be accessed by computing and comparing simple algebraic functions of their values. In other words, an [[asymptotically optimal]] algorithm of linearithmic time complexity is known for this model. The algebraic computation tree model basically means that the allowable algorithms are only the ones that can perform polynomial operations of bounded degree on the input data and comparisons of the results of these computations.
The same lower bound was later proved for the [[randomized complexity|randomized]] [[algebraic decision tree]] model.<ref>{{cite journal|doi=10.1007/BF01270387|title=A lower bound for randomized algebraic decision trees|year=1996|author=Grigoriev, Dima|journal=Computational Complexity|volume=6|pages=357|last2=Karpinski|first2=Marek|last3=Heide|first3=Friedhelm Meyer|last4=Smolensky|first4=Roman|issue=4}}</ref>
It is also known that [[quantum algorithm]]s can solve this problem faster in <math>\Theta\left(N^{2/3}\right)</math> queries. The optimal algorithm is by [[Andris Ambainis]],<ref>{{Cite journal | last1=Ambainis | first1=Andris | author1-link=Andris Ambainis | title=Quantum walk algorithm for element distinctness
Several lower bounds in computational complexity are proved by reducing the element distinctness problem to the problem in question, i.e., by demonstrating that the solution of the element uniqueness problem may be quickly found after solving the problem in question.
|