[leetcode] 236. Lowest Common Ancestor of a Binary Tree @ python

原题 https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree/node 解法 参考: LeetCode 236 Lowest Common Ancestor of a Binary Tree 【公瑾讲解】 使用递归, base case是返回root或None.而后使用分治法, 若是左右节点的lowestCommo
相关文章
相关标签/搜索