Log in

Binary search trees with limited rotation

  • Part I Computer Science
  • Published:
BIT Numerical Mathematics Aims and scope Submit manuscript

Abstract

A parameterized binary search tree callediR tree is defined in this paper. A user is allowed to select a level of balance he desires. SR tree is a special case ofiR tree wheni=1. There are two new concepts in SR trees: (1) local balancing scheme that balances the tree locally; (2) consecutive storage for brother nodes that reduces pointer space. Although we may introduce empty nodes into the tree, we can show that only 1/8 of the nodes may be empty on the average, so it may still be advantageous in cases when record sizes are small. Insertion (and deletion) into SR trees can be done in timeh + O(1) whereh is the height of the tree. The average searching time for SR trees is shown to be 1.188 log2 k wherek is the number of keys. Generalization of the results of SR trees toiR in general is also given.

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

Access this article

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price includes VAT (France)

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. D. E. Knuth,The Art of Computer Programming, Vol. 3, Addison-Wesley, Reading, Mass. (1973).

    Google Scholar 

  2. Th. Ottmann, H.-W. Six and D. Wood,The analysis of search trees: a survey, McMaster University, Computer Science Technical Report 80-CS-19, (1980).

  3. W. M. Ching, Private communication.

  4. A. C. Yao,On random 2–3 trees, Acta Informatica, 9 (1978), 159–170.

    Google Scholar 

  5. D. E. Knuth,The Art of Computer Programming, Vol. 1, Addison-Wesley, Reading, Mass. (1968).

    Google Scholar 

  6. E. M. Reingold, J. Nievergelt and N. Deo,Combinatorial Algorithms: Theory and Practice, Prentice-Hall, Englewood, New Jersey, (1977).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Additional information

The research of the first author was partially supported by a Research Initiation Grant from the University of Houston.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Huang, SH.S., Wong, C.K. Binary search trees with limited rotation. BIT 23, 436–455 (1983). https://doi.org/10.1007/BF01933619

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01933619

Keywords

Navigation