The Lowest Common Ancestor (LCA) Algorithm

An in-depth breakdown of the lowest common ancestor (LCA) algorithm for finding the deepest node in a graph which is a parent of two other nodes.