Lowest Common Ancestor#
Algorithms for finding the lowest common ancestor of trees and DAGs.
|
Return the lowest common ancestor of all pairs or the provided pairs |
|
Yield the lowest common ancestor for sets of pairs in a tree. |
|
Compute the lowest common ancestor of the given pair of nodes. |