Berkman; Vishkin (Lowest Common Ancestor with Static Trees Lowest Common Ancestor)

From Algorithm Wiki
Jump to navigation Jump to search

Time Complexity

$O(n+m)$ ?

Space Complexity

$O(n)$ words

(space bounded by pre-processing time)

Description

Approximate?

Exact

Randomized?

No, deterministic

Model of Computation

Word RAM

Year

1993

Reference

https://apps.dtic.mil/dtic/tr/fulltext/u2/a227803.pdf