Summary
It is shown that ¯n (N), the average number of nodes in an N-key random 2–3 tree, satisfies the inequality 0.70 N < ¯n(N) <0.79 N for large N. A similar analysis is done for general B-trees. It is shown that storage utilization is essentially ln 2≈69% for B-tree of high orders.
Similar content being viewed by others
References
Aho, A.V., Hopcroft, J.E., Ullman, J.D.: The design and analysis of computer algorithms. Reading (Mass.): Addison-Wesley 1974
Bayer, R., McCreight, E.: Organization and maintenance of large ordered indexes. Acta Informat. 1, 173–189 (1972)
Chvatal, V., Klarner, D.A., Knuth, D.E.: Selected combinatorial research problems. Computer Science Dept., Stanford University, Problem 37, STAN-CS-72-292, 1972
Knuth, D.E.: The art of computer programming, Vol. 1, Fundamental algorithms. Reading (Mass.): Addison-Wesley 1968
Knuth, D.E.: The art of computer programming, Vol. 3, Sorting and searching. Reading (Mass.): Addison-Wesley 1973
Yao, A. C.: On random 3-2 trees. Department of Computer Science, University of Illinois, Technical Report (74-679), October 1974
Author information
Authors and Affiliations
Additional information
This work was done while the author was at University of Illinois, partially supported by NSF Grant GJ 41538. The preparation of this paper has also been partially supported by NSF Grants MCS 72-06336 A04 and MCS 72-03752 A03
Rights and permissions
About this article
Cite this article
Yao, A.CC. On random 2–3 trees. Acta Informatica 9, 159–170 (1978). https://doi.org/10.1007/BF00289075
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF00289075