Tag
LCA
2 notes.
Python: Lowest Common Ancestor of a Binary Tree – Non Recursive
Python 3 code to find the Lowest Common Ancestor of a Binary Tree This is a Non Recursive solution using DFS method. 7772238876ac3cf3759268_000000 7772238876ac3cf3759268_000001 Hope it helps.
Python: Lowest Common Ancestor of a Binary Search Tree
Python 3 code to find the Lowest Common Ancestor of a Binary Search Tree 7772238876ac3cf3759268_000002 Hope it helps.