Skip to main content

Amortized Rigidness in Dynamic Cartesian Trees

  • Conference paper
STACS 2006 (STACS 2006)

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

Included in the following conference series:

Abstract

Cartesian trees have found numerous applications due to a peculiar rigid structure whose properties can be exploited in various ways. This rigidness, however, is also an obstacle when updating the structure since it can lead to a very unbalanced shape and so up to now most applications either assumed a random distribution of the keys or considered only the static case. In this paper we present a framework for efficiently maintaining a Cartesian tree under insertions and weak deletions in O(log n) amortized time per operation, using O(n) space. We show that the amortized cost of updating a Cartesian tree is \(O(1 + \mathcal{H}(T)/n)\) where \(\mathcal{H}(T) = O(nlogn)\) is an entropy-related measure for the partial order encoded by T. We also show how to exploit this property by implementing an algorithm which performs these updates in O(log n) time per operation. No poly-logarithmic update bounds were previously known.

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. Vuillemin, J.: A unifying look at data structures. Comm. ACM 23, 229–239 (1980)

    Article  MathSciNet  MATH  Google Scholar 

  2. Gabow, H.N., Bentley, J.L., Tarjan, R.E.: Scaling and related techniques for geometry problems. In: STOC 1984, pp. 135–143 (1984)

    Google Scholar 

  3. Seidel, R., Aragon, C.R.: Randomized search trees. Algorithmica 16, 464–497 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  4. Bender, M.A., Farach-Colton, M.: The LCA problem revisited. In: Latin American Theoretical Informatics 2000, pp. 88–94 (2000)

    Google Scholar 

  5. Devroye, L.: On random Cartesian trees. Random Struct. Algorithms 5, 305–328 (1994)

    Article  MathSciNet  MATH  Google Scholar 

  6. McCreight, E.M.: Priority search trees. SIAM J. Comput. 14, 257–276 (1985)

    Article  MathSciNet  MATH  Google Scholar 

  7. Cole, R., Hariharan, R.: Dynamic LCA queries on trees. SIAM J. Comput. 34, 894–923 (2005)

    Article  MathSciNet  MATH  Google Scholar 

  8. Edelsbrunner, H.: A new approach to rectangle intersections, part I. International Journal Computer Mathematics 13, 209–219 (1983)

    Article  MATH  Google Scholar 

  9. Arge, L., Vitter, J.S.: Optimal external memory interval management. SIAM J. Comput. 32, 1488–1508 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  10. Lagogiannis, G., Makris, C., Panagis, Y., Sioutas, S., Tsichlas, K.: New dynamic balanced search trees with worst-case constant update time. J. Autom. Lang. Comb. 8, 607–632 (2003)

    MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bialynicka-Birula, I., Grossi, R. (2006). Amortized Rigidness in Dynamic Cartesian Trees. In: Durand, B., Thomas, W. (eds) STACS 2006. STACS 2006. Lecture Notes in Computer Science, vol 3884. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11672142_5

Download citation

  • DOI: https://doi.org/10.1007/11672142_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-32301-3

  • Online ISBN: 978-3-540-32288-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics