Mental Model
Find the shared parent node closest to two given nodes in a tree. It is the deepest node that has both nodes as descendants.
Analogy: Imagine a family tree where you want to find the closest common grandparent of two cousins. You start from each cousin and move up until you find the first shared ancestor.
3
/ \
5 1
/ \ / \
6 2 0 8
/ \
7 4
