## Identifying Nearest Common Ancestors in a Distributed Environment (2001)

by
Stephen Alstrup
,
Cyril Gavoille
,
Haim Kaplan
,
Theis Rauhe

Citations: | 7 - 2 self |

### BibTeX

@MISC{Alstrup01identifyingnearest,

author = {Stephen Alstrup and Cyril Gavoille and Haim Kaplan and Theis Rauhe},

title = {Identifying Nearest Common Ancestors in a Distributed Environment},

year = {2001}

}

### OpenURL

### Abstract

We give a simple algorithm that labels the nodes of a rooted tree such that from the labels of two nodes alone one can compute in constant time the label of their nearest common ancestor. The labels assigned by our algorithm are of size O(log n) bits where n is the number of nodes in the tree. The algorithm runs in O(n) time.