DocumentCode :
1536158
Title :
Constructing optimal search trees in optimal time
Author :
Zheng, S.Q. ; Sun, M.
Author_Institution :
Dept. of Comput. Sci., Texas Univ., Dallas, TX, USA
Volume :
48
Issue :
7
fYear :
1999
fDate :
7/1/1999 12:00:00 AM
Firstpage :
738
Lastpage :
743
Abstract :
(a, b)-trees are an important class of search trees. They include 2-3 trees, 2-3-4 trees, and B-trees as subclasses. We show that a space-minimum (a, b)-tree is also height-minimum and present an optimal algorithm for constructing (a, b)-trees that are height-minimum and space-minimum. Given n keys, our algorithm constructs an (a, b)-tree with minimum height and lowest possible nodes. Our algorithm takes Θ(n) time if the keys in S are sorted and Θ(n log n) time if the keys are not sorted. We also discuss possible applications of our algorithm
Keywords :
tree data structures; tree searching; 2-3 trees; 2-3-4 trees; B-trees; optimal search trees; optimal time; Algorithm design and analysis; Application software; Binary search trees; Computer science; Databases; Indexing; Parallel algorithms; Phase change random access memory; Senior members; Tree data structures;
fLanguage :
English
Journal_Title :
Computers, IEEE Transactions on
Publisher :
ieee
ISSN :
0018-9340
Type :
jour
DOI :
10.1109/12.780881
Filename :
780881
Link To Document :
بازگشت