Automata, Languages and Programming

Volume 820 of the series Lecture Notes in Computer Science pp 251-262


The Optimal Alphabetic Tree problem revisited

  • Teresa M. PrzytyckaAffiliated withDepartment of Mathematics and Computer Science, Odense University
  • , Lawrence L. LarmoreAffiliated withDepartment of Computer Science, University of Nevada Las Vegas

* Final gross prices may vary according to local VAT.

Get Access


The Optimal Alphabetic Binary Tree (OABT) problem is equivalent to the Optimal Binary Search Tree problem with the restriction that all data are in the leaves. The problem can be solved in O(n log n) time, while the best known lower bound is Ω(n).

The main result of this paper is an O(n√log n)-time algorithm for the integer OABT problem. As a side effect we obtain an O(n log k)-time algorithm for the general OABT problem, where k is a number at most as large as the number of local minima. This algorithm gives rise to linear time algorithms for some special cases. As a corollary, we obtain an O(nL)-time algorithm for the integer case of the optimal height-limited alphabetic tree problem, where L is the height limitation.