The randomized complexity of maintaining the minimum
The complexity of maintaining a set under the operations Insert, Delete and FindMin is considered. In the comparison model it is shown that any randomized algorithm with expected amortized cost t comparisons per Insert and Delete has expected cost at least n/(e22t) − 1 comparisons for FindMin. If FindMin is replaced by a weaker operation, FindAny, then it is shown that a randomized algorithm with constant expected cost per operation exists, but no deterministic algorithm. Finally, a deterministic algorithm with constant amortized cost per operation for an offline version of the problem is given.
KeywordsDeterministic Algorithm Coin Toss Operation Insert Occupancy Tree Adversary Strategy
Unable to display preview. Download preview PDF.
- 2.Gerth Stølting Brodal. Fast meldable priority queues. In Proc. 4th Workshop on Algorithms and Data Structures (WADS), volume 955 of Lecture Notes in Computer Science, pages 282–290. Springer Verlag, Berlin, 1995.Google Scholar
- 3.Svante Carlsson, Patricio V. Poblete, and J. Ian Munro. An implicit binomial queue with constant insertion time. In Proc. 1st Scandinavian Workshop on Algorithm Theory (SWAT), volume 318 of Lecture Notes in Computer Science, pages 1–13. Springer Verlag, Berlin, 1988.Google Scholar
- 5.Rudolf Fleischer. A simple balanced search tree with O(1) worst-case update time. In Algorithms and Computation: 4th International Symposium, ISAAC '93, volume 762 of Lecture Notes in Computer Science, pages 138–146. Springer Verlag, Berlin, 1993.Google Scholar
- 6.G. H. Hardy, J. E. Littlewood, and G. Polya. Inequalities. Cambridge University Press, Cambridge, 1952.Google Scholar
- 8.J. W. J. Williams. Algorithm 232: Heapsort. Communications of the ACM, 7(6):347–348, 1964.Google Scholar
- 9.A. C-C. Yao. Probabilistic computations: Towards a unified measure of complexity. In Proc. of the 17th Symp. on Found. of Comp. Sci., 222–227, 1977.Google Scholar