Stephen Alstrup, Cyril Gavoille, Haim Kaplan & Theis Rauhe (Lowest Common Ancestor with Static Trees Lowest Common Ancestor)
Jump to navigation
Jump to search
Time Complexity
$O(n+m)$
Space Complexity
$O(n)$ words
((see original reference, noting that a word is O(log n) bits))
Description
Approximate?
Exact
Randomized?
No, deterministic
Model of Computation
Word RAM
Year
2004