Fast algorithms for finding nearest common ancestor (1984)

by D Harel, R Tarjan
Venue:SIAM J. Comput