摘要: Given a binary tree in which each node contains an integer number. Determine if there exists a path (the path can only be from one node to itself or t 阅读全文
posted @ 2020-03-05 23:00 xuan_abc 阅读(177) 评论(0) 推荐(0)
摘要: Given a binary tree, find the subtree with maximum average. Return the root of the subtree. Example 1 Input: {1,-5,11,1,2,4,-2} Output:11 Explanation: 阅读全文
posted @ 2020-03-05 11:52 xuan_abc 阅读(238) 评论(0) 推荐(0)