[LeetCode] 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 lowes
posted @ 2015-07-13 07:10  Grandyang  阅读(29265)  评论(14)    收藏  举报
Fork me on GitHub