[LeetCode] 236. Lowest Common Ancestor of a Binary Tree
Link : 236. Lowest Common Ancestor of a Binary Tree
문제 설명
Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.
According to the definition of LCA on Wikipedia: “The lowest common ancestor is defined between two ...
blog.hyunjun.org3 min read