Melhorn's Approximation algorithm (Approximate OBST Optimal Binary Search Trees)

From Algorithm Wiki
Revision as of 11:31, 15 February 2023 by Admin (talk | contribs) (Created page with "== Time Complexity == $O(n)$ == Space Complexity == $O(n)$ (https://people.mpi-inf.mpg.de/~mehlhorn/ftp/mehlhorn3.pdf, storing left/right subtrees' weights) == Description == == Approximate? == Approximate Approximation Factor: 0.63 H \leq P_opt \leq P_balanced \leq 2 + 1.44 H == Randomized? == No, deterministic == Model of Computation == == Year == 1975 == Reference == https://people.mpi-inf.mpg.de/~mehlhorn/ftp/mehlhorn3.pdf")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Time Complexity

$O(n)$

Space Complexity

$O(n)$

(https://people.mpi-inf.mpg.de/~mehlhorn/ftp/mehlhorn3.pdf, storing left/right subtrees' weights)

Description

Approximate?

Approximate

Approximation Factor: 0.63 H \leq P_opt \leq P_balanced \leq 2 + 1.44 H

Randomized?

No, deterministic

Model of Computation

Year

1975

Reference

https://people.mpi-inf.mpg.de/~mehlhorn/ftp/mehlhorn3.pdf