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 @ 2016-02-22 00:20 bug睡的略爽 阅读(194) 评论(0) 推荐(0) 编辑