Optimal pagination of B-trees with variable-length items
- 1 March 1984
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 27 (3), 241-247
- https://doi.org/10.1145/357994.358025
Abstract
Two algorithms are developed for the optimal organization of B-trees (and variations) with variable-length items. The first algorithm solves a problem posed by McCreight, that of finding a pagination of n items that minimizes the sum of key lengths promoted to the next higher level of the tree. The algorithm requires O(n log n) time and O(n) space. The second algorithm constructs the minimum depth tree in O(n 3 log n) time from the n items. Both methods rely on dynamic programming arguments and can be interpreted as shortest-path problems. Practical approaches for implementing the algorithms are discussed.Keywords
This publication has 3 references indexed in Scilit:
- Ubiquitous B-TreeACM Computing Surveys, 1979
- Pagination of B*-trees with variable-length recordsCommunications of the ACM, 1977
- Symmetric binary B-Trees: Data structure and maintenance algorithmsActa Informatica, 1972