Optimal Search Trees with 2-Way Comparisons
Marek Chrobak, Mordecai Golin, J. Ian Munro, Neal E. Young

TL;DR
This paper presents the first polynomial-time algorithms for constructing optimal binary search trees using only 2-way comparisons, addressing a long-standing open problem in search tree optimization.
Contribution
It introduces an $O(n^4)$-time exact algorithm and an $O(n \, log \, n)$-time approximation for 2-way comparison search trees, solving the general case.
Findings
Provided an $O(n^4)$-time exact algorithm.
Developed an $O(n \, log \, n)$-time approximation algorithm.
Proved previous methods for binary split trees incorrect.
Abstract
In 1971, Knuth gave an -time algorithm for the classic problem of finding an optimal binary search tree. Knuth's algorithm works only for search trees based on 3-way comparisons, while most modern computers support only 2-way comparisons (e.g., , and ). Until this paper, the problem of finding an optimal search tree using 2-way comparisons remained open -- poly-time algorithms were known only for restricted variants. We solve the general case, giving (i) an -time algorithm and (ii) an -time additive-3 approximation algorithm. Also, for finding optimal binary split trees, we (iii) obtain a linear speedup and (iv) prove some previous work incorrect.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
