Lowest Common Ancestor in Binary Tree
Lowest Common Ancestor in Binary Tree: a task in Terminal-Lego-15k (Harbor dataset). Implement a program to find the Lowest Common Ancestor (LCA) of two nodes in any binary tree. The binary tree is not necessarily a Binary Search Tree , meaning nodes are not ordered by value.
Part of PrimeIntellect/Terminal-Lego-15k.