![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
tree
huilaner
这个作者很懒,什么都没留下…
展开
-
【小熊刷题】Binary Tree Maximum Path Sum
QuestionGiven a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example, given the below binary tree,The highlighted path yields the maximum原创 2015-08-26 10:33:56 · 339 阅读 · 0 评论 -
【小熊刷题】Balanced Binary Tree
QuestionGiven a binary tree, determine if it is height-balanced. A height-balanced binary tree is defined as a binary tree in which the depth of the two subtrees of every node never differ more than 1.原创 2015-08-25 23:37:11 · 304 阅读 · 0 评论 -
【小熊刷题】Convert Sorted Array to Balanced Binary Search Tree
QuestionGiven an array where elements are sorted in ascending order, convert it to a height balanced BST.原创 2015-08-26 02:04:25 · 243 阅读 · 0 评论 -
【小熊刷题】Convert Sorted List to Balanced Binary Search Tree<可再复习>
QuestionGiven a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.原创 2015-08-26 03:48:36 · 328 阅读 · 0 评论