A Simple Algorithm for Optimal Search Trees with Two-way Comparisons

5Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.

Abstract

We present a simple O(n4)-time algorithm for computing optimal search trees with two-way comparisons. The only previous solution to this problem, by Anderson et al., has the same running time but is significantly more complicated and is restricted to the variant where only successful queries are allowed. Our algorithm extends directly to solve the standard full variant of the problem, which also allows unsuccessful queries and for which no polynomial-time algorithm was previously known. The correctness proof of our algorithm relies on a new structural theorem for two-way-comparison search trees.

Cite

CITATION STYLE

APA

Chrobak, M., Golin, M., Ian Munro, J., & Young, N. E. (2021). A Simple Algorithm for Optimal Search Trees with Two-way Comparisons. ACM Transactions on Algorithms, 18(1). https://doi.org/10.1145/3477910

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free