CISSAlgorithm origin & lineage registry

AlgorithmsData structuresEdit on GitHubEdit history

Tarjan's Off-line LCA Algorithm

1979

An offline algorithm that answers a batch of lowest-common-ancestor queries given in advance using a single depth-first traversal and a union–find structure. For n nodes and m queries it runs in nearly linear O((n + m) α(n)) time.

Origin

Robert E. Tarjan (1979). Applications of Path Compression on Balanced Trees. Journal of the ACM 26(4).doi:10.1145/322154.322161 — checked against Crossref, 2026-11-08

Lineage

Algorithms 2 · Relations 1

Parent algorithms

Where it came from
Disjoint-Set Union1964CompositionVerified90%

Author statementTarjan handled offline LCA queries with a union–find structure using path compression. — doi:10.1145/322154.322161

Notable implementations

No implementations registered yet. Try a repo scan to find some. Repo scan

Find more: GitHub · Semantic Scholar · Google Scholar · arXiv

Claims & disputes

Loading…