Lowest Common Ancestor of a Binary Tree III
The Meta-specific LCA variant (91% frequency). With parent pointers the tree becomes effectively a linked list intersection problem — the "pointer race" trick from LC 160 applies perfectly.
Enable JavaScript for the full StreamPrep guide.