Skip to main content

Dynamic Online Multiselection in Internal and External Memory

  • Conference paper
WALCOM: Algorithms and Computation (WALCOM 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8973))

Included in the following conference series:

Abstract

We consider the dynamic version of the online multiselection problem for internal and external memory, in which q selection queries are requested on an unsorted array of N elements. Our internal memory result is 1-competitive with the offline result of Kaligosiet al.[ICALP 2005]. In particular, we extend the results of Barbaryet al.[ESA 2013] by supporting arbitrary insertions and deletions while supporting online select and search queries on the array. Assuming that the insertion of an element is immediately preceded by a search for that element, we show that our dynamic online algorithm performs an optimal number of comparisons, up to lower order terms and an additive O(N) term.

For the external memory model, we describe the first online multiselection algorithm that is O(1)-competitive. This result improves upon the work of Sibeyn [Journal of Algorithms 2006] when q > m, where m is the number of blocks that can be stored in main memory. We also extend it to support searches, insertions, and deletions of elements efficiently.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Aggarwal, A., Vitter, J.S.: The input/output complexity of sorting and related problems. Commun. ACM 31(9), 1116–1127 (1988)

    Article  MathSciNet  Google Scholar 

  2. Brodal, G., Fagerberg, R.: On the limits of cache-obliviousness. In: Proceedings of the ACM Symposium on Theory of Computing, pp. 307–315 (2003)

    Google Scholar 

  3. Barbay, J., Gupta, A., Jo, S., Rao, S.S., Sorenson, J.: Theory and implementation of online multiselection algorithms. In: Bodlaender, H.L., Italiano, G.F. (eds.) ESA 2013. LNCS, vol. 8125, pp. 109–120. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  4. Dobkin, D.P., Ian Munro, J.: Optimal time minimal space selection algorithms. J. ACM 28(3), 454–461 (1981)

    Article  MATH  Google Scholar 

  5. Fredman, M.L., Willard, D.E.: Surpassing the information theoretic bound with fusion trees. J. Comput. Syst. Sci. 47(3), 424–436 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  6. Hoare, C.A.R.: Algorithm 65: find. Commun. ACM 4(7), 321–322 (1961)

    Article  Google Scholar 

  7. Hon, W.-K., Sadakane, K., Sung, W.-K.: Succinct data structures for searchable partial sums. In: Proceedings of the International Symposium on Algorithms and Computation, pp. 505–516 (2003)

    Google Scholar 

  8. Jiménez, R.M., Martínez, C.: Interval Sorting. In: Abramsky, S., Gavoille, C., Kirchner, C., Meyer auf der Heide, F., Spirakis, P.G. (eds.) ICALP 2010. LNCS, vol. 6198, pp. 238–249. Springer, Heidelberg (2010)

    Chapter  Google Scholar 

  9. Kaligosi, K., Mehlhorn, K., Munro, J.I., Sanders, P.: Towards optimal multiple selection. In: Caires, L., Italiano, G.F., Monteiro, L., Palamidessi, C., Yung, M. (eds.) ICALP 2005. LNCS, vol. 3580, pp. 103–114. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  10. Motwani, R., Raghavan, P.: Deferred data structuring: Query-driven preprocessing for geometric search problems. In: Symposium on Computational Geometry, pp. 303–312 (1986)

    Google Scholar 

  11. Prodinger, H.: Multiple quickselect - Hoare’s find algorithm for several elements. Inf. Process. Lett. 56(3), 123–129 (1995)

    Article  MATH  MathSciNet  Google Scholar 

  12. Sibeyn, J.F.: External selection. J. Algorithms 58(2), 104–117 (2006)

    Article  MATH  MathSciNet  Google Scholar 

  13. Ching, Y.-T., Mehlhorn, K., Smid, M.H.M.: Dynamic deferred data structuring. Information Processing Letters 35(1), 37–40 (1990)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Barbay, J., Gupta, A., Rao Satti, S., Sorenson, J. (2015). Dynamic Online Multiselection in Internal and External Memory. In: Rahman, M.S., Tomita, E. (eds) WALCOM: Algorithms and Computation. WALCOM 2015. Lecture Notes in Computer Science, vol 8973. Springer, Cham. https://doi.org/10.1007/978-3-319-15612-5_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-15612-5_18

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-15611-8

  • Online ISBN: 978-3-319-15612-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics