Back to Search
Start Over
Optimizing Binary Trees Grown with a Sorting Algorithm.
- Source :
- Communications of the ACM; Feb1972, Vol. 15 Issue 2, p88-93, 6p, 1 Graph
- Publication Year :
- 1972
-
Abstract
- Items can be retrieved from binary trees grown with a form of the Algorithm Quicksort in an average time proportional to log n, where n is the number of items in the tree. The binary trees grown by this algorithm sometimes have some branches longer than others; therefore, it is possible to reduce the average retrieval time by restructuring the tree to make the branches as uniform in length as possible. An algorithm to do this is presented. The use of this algorithm is discussed, and it is compared with another which restructures the tree after each new item is added. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 00010782
- Volume :
- 15
- Issue :
- 2
- Database :
- Complementary Index
- Journal :
- Communications of the ACM
- Publication Type :
- Periodical
- Accession number :
- 5308620