Skip to main content

An algorithm for finding predecessors in integer sets

Publication ,  Conference
Maggs, B; Rauch, M
Published in: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
January 1, 1993

This paper presents a data structure that supports the operations of inserting and deleting elements drawn from a universe U={0⋯u-1} into a set S, and for finding the predecessors of elements of U in S. We consider both random inputs and worst-case inputs. In the case of random inputs, we show that each operation can be performed in constant time, with high probability, provided that the total number of operations is at most polynomial in u. In Yao’s cell probe model, the algorithm uses O(n) space, where n is the maximum size that S achieves during the sequence of operations. The algorithm can be implemented with the same performance in the RAM model with word size O(log u) at the cost of performing uϵ preprocessing operations, and using u? additional space, for any fixed ϵ > 0. The algorithm can be modified so that even in the worst case no operation takes more than O(log log u) time, at the cost of using O(u) additional space.

Duke Scholars

Published In

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

DOI

EISSN

1611-3349

ISSN

0302-9743

Publication Date

January 1, 1993

Volume

709 LNCS

Start / End Page

483 / 493

Related Subject Headings

  • Artificial Intelligence & Image Processing
  • 46 Information and computing sciences
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Maggs, B., & Rauch, M. (1993). An algorithm for finding predecessors in integer sets. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 709 LNCS, pp. 483–493). https://doi.org/10.1007/3-540-57155-8_273
Maggs, B., and M. Rauch. “An algorithm for finding predecessors in integer sets.” In Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 709 LNCS:483–93, 1993. https://doi.org/10.1007/3-540-57155-8_273.
Maggs B, Rauch M. An algorithm for finding predecessors in integer sets. In: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). 1993. p. 483–93.
Maggs, B., and M. Rauch. “An algorithm for finding predecessors in integer sets.” Lecture Notes in Computer Science (Including Subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), vol. 709 LNCS, 1993, pp. 483–93. Scopus, doi:10.1007/3-540-57155-8_273.
Maggs B, Rauch M. An algorithm for finding predecessors in integer sets. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics). 1993. p. 483–493.

Published In

Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)

DOI

EISSN

1611-3349

ISSN

0302-9743

Publication Date

January 1, 1993

Volume

709 LNCS

Start / End Page

483 / 493

Related Subject Headings

  • Artificial Intelligence & Image Processing
  • 46 Information and computing sciences