树
Frontier_Setter
这个作者很懒,什么都没留下…
展开
-
[LeetCode] (medium) 236. Lowest Common Ancestor of a Binary Tree
https://leetcode.com/problems/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 ...原创 2019-02-17 20:50:15 · 172 阅读 · 0 评论 -
[LeetCode] (medium) 654. Maximum Binary Tree
https://leetcode.com/problems/maximum-binary-tree/ Given an integer array with no duplicates. A maximum tree building on this array is defined as follow: The root is the maximum number in the array...原创 2019-05-28 22:03:23 · 113 阅读 · 0 评论