摘要: "LintCode 88. Lowest Common Ancestor (Medium)" "LeetCode 236. Lowest Common Ancestor of a Binary Tree (Medium)" 今天写了三种解法, 都比较长. 解法1 前序递归DFS, 计数 这个解法的判 阅读全文
posted @ 2016-01-30 15:56 柳正来 阅读(391) 评论(0) 推荐(0) 编辑