TARJAN, Fast algorithmsforfinding nearest common ancestors (1984)

by D HAREL, R E
Venue:SIAM J. Comput