ComputingComputer ScienceAlgorithmsData StructuresDatabasesData Structure AlgorithmsQuery ProcessingTree Algorithms
We investigate two lowest common ancestor (LCA) problems on trees. We give a linear time algorithm for the off-line problem, on a random access machine (RAM). The half-line problem is one in which LCA queries on a fixed tree are arriving on line. We extend our RAM algorithm to answer each individual query in 0(1) time, with 0(n) preprocessing time. Tarjan observed that this result helps to explicate the difference in power between RAM and pointer machines. We also show how to modify our algorithm to achieve a linear preprocessing time, optimal query time, algorithm on a reference machine.
12
A dichromatic framework for balanced trees
Leo J. Guibas, Robert Sedgewick · 1978 · 658 citations
Binary Search Trees of Bounded Balance
J. Nievergelt, Edward M. Reingold · SIAM Journal on Computing · 1973 · 263 citations
Robert E. Tarjan, Andrew Chi-Chih Yao · Communications of the ACM · 1979 · 207 citations · Full text
A new representation for linear lists
Leo J. Guibas, Edward M. McCreight, Michael F. Plass et al. · 1977 · 152 citations · Full text