Kmett (Lowest Common Ancestor with Static Trees Lowest Common Ancestor)

From Algorithm Wiki
Jump to navigation Jump to search

Time Complexity

$O(m*log(h)$)

Space Complexity

words

()

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

2015

Reference

https://www.schoolofhaskell.com/user/edwardk/online-lca