finds the lowest common ancestral node of a target node on a binary tree using DFS. Java & Python Solution.
leetcode leetcode-solutions binarytree leetcode-java leetcode-python lowest-common-ancestor binarytree-ancestor
-
Updated
Oct 25, 2021 - Java