Math 2.0

Concept

Lowest common ancestor

Summary

In graph theory and computer science, the lowest common ancestor (LCA) (also called least common ancestor) of two nodes vv and ww in a tree or directed acyclic graph (DAG) TT is the lowest (i.e. deepest) node that has both vv and ww as descendants, where we define each node to be a descendant of itself (so if vv has a direct connection from ww, ww is the lowest common ancestor).

Further reading

  1. Wikipedia, page 7196522, revision 1373894477, Lowest common ancestor. adopted
About this page
TagAB5CY2E7BK
URIm2://AB5CY2E7BK
Aliasesleast-common-ancestor, least-common-subsumer, nearest-common-ancestor
Kindconcept
WritingW1 stated
Same as
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W2

  • edge defines in: at least one definition (0 of 1)
  • edge instance_of in: at least two examples (0 of 2)
  • edge not_instance_of in: at least one non-example (0 of 1)
  • edge specializes both: the more general notions and the special cases (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.